We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 973eb90 commit 3bed814Copy full SHA for 3bed814
CMakeLists.txt
@@ -12,8 +12,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
12
# Additional warnings and errors
13
if(MSVC)
14
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
15
+ set(EXTRA_COMPILE_FLAGS_CXX "/W4")
16
else()
- set(EXTRA_COMPILE_FLAGS_CXX "-Wno-register -Werror=vla")
17
+ set(EXTRA_COMPILE_FLAGS_CXX "-Wall -Wextra -Wno-register -Werror=vla")
18
endif()
19
20
option(USE_OPENMP "flag to use OpenMP for multithreading" ON)
0 commit comments