Skip to content

Commit a1b0157

Browse files
committed
disabled -Wshadow GCC warnings in CMake for now
1 parent f81b317 commit a1b0157

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
3838

3939
add_compile_options(-Wsuggest-attribute=noreturn)
4040
add_compile_options_safe(-Wuseless-cast)
41+
42+
add_compile_options(-Wno-shadow) # TODO: fix these
4143
elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
4244
add_compile_definitions(_CRT_SECURE_NO_WARNINGS)
4345
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")

0 commit comments

Comments
 (0)