Enable more clang warnings

This commit is contained in:
sfc-gh-tclinkenbeard 2021-07-22 23:09:01 -07:00
parent e62e6503ac
commit 8fe3e45fc6
1 changed files with 1 additions and 3 deletions

View File

@ -285,7 +285,7 @@ else()
-Wpessimizing-move
-Woverloaded-virtual
-Wshift-sign-overflow
# Here's the current set of warnings we need to explicitly disable to compile warning-free with clang 10
# Here's the current set of warnings we need to explicitly disable to compile warning-free with clang 11
-Wno-comment
-Wno-dangling-else
-Wno-delete-non-virtual-dtor
@ -297,13 +297,11 @@ else()
-Wno-sign-compare
-Wno-tautological-pointer-compare
-Wno-undefined-var-template
-Wno-tautological-pointer-compare
-Wno-unknown-pragmas
-Wno-unknown-warning-option
-Wno-unused-function
-Wno-unused-local-typedef
-Wno-unused-parameter
-Wno-self-assign
)
if (USE_CCACHE)
add_compile_options(