We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Wshadow
1 parent 3b08389 commit 9f80d71Copy full SHA for 9f80d71
1 file changed
CMakeLists.txt
@@ -20,6 +20,7 @@ endfunction()
20
21
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
22
add_compile_options(-Wall -Wextra -pedantic -Wcast-qual -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wredundant-decls -Wshadow -Wundef -Wold-style-cast -Wno-multichar)
23
+ add_compile_options(-Wno-shadow) # TODO: fix these
24
elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
25
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
26
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
0 commit comments