Skip to content

Enable numberparsingcheck and stringparsingcheck on MSVC - #853

Merged
jkeiser merged 4 commits into
simdjson:masterfrom
furkanusta:windows-parsingchecks
May 2, 2020
Merged

jkeiser merged 4 commits into
simdjson:masterfrom
furkanusta:windows-parsingchecks

Conversation

@furkanusta

Copy link
Copy Markdown
Contributor

Added include dirent_portable and disabled min/max macros.

#define JSON_TEST_NUMBERS
#endif

#ifndef _MSC_VER

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Future note: we should just bite the bullet and rename dirent_portable.h to dirent.h.

Comment thread tests/CMakeLists.txt
endif()
add_cpp_test(numberparsingcheck LABELS acceptance per_implementation)
target_link_libraries(numberparsingcheck simdjson-include-source simdjson-windows-headers)
target_compile_definitions(numberparsingcheck PRIVATE NOMINMAX)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow, this is common enough that they made a specific property for it?

@jkeiser jkeiser left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hooray!

@jkeiser
jkeiser merged commit 191faea into simdjson:master May 2, 2020
@furkanusta
furkanusta deleted the windows-parsingchecks branch May 2, 2020 23:24
@jkeiser jkeiser added this to the 0.4 milestone May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants