Skip to content

Commit

Permalink
gcc: for now disable -Wshadow (many findings in code) and -Wuseless-c…
Browse files Browse the repository at this point in the history
…ast (findings in moc generated code)
  • Loading branch information
ssproessig committed Oct 24, 2020
1 parent 8f28b69 commit b549f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
-Wlogical-op
-Wmissing-noreturn
-Wold-style-cast
-Wshadow
# -Wshadow # disabled due to many findings in the current code
-Wsign-conversion
-Wswitch-default
-Wunused-local-typedefs
-Wuseless-cast
# -Wuseless-cast # disabled due to Qt's moc warnings

-pedantic-errors
)
Expand Down

0 comments on commit b549f38

Please sign in to comment.