Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS2019 64bit Compile Error:std::numeric_limits<uint32_t>::max() #228

Open
hywing opened this issue May 31, 2024 · 0 comments
Open

VS2019 64bit Compile Error:std::numeric_limits<uint32_t>::max() #228

hywing opened this issue May 31, 2024 · 0 comments

Comments

@hywing
Copy link

hywing commented May 31, 2024

How about adding a macro definition in top CMake File to avoid such error?

Here is the code in line 18-20

elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
    add_definitions(-DNOMINMAX)
endif()
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

No branches or pull requests

1 participant