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.
2 parents 5b1e51f + 1ffed5d commit 021be7fCopy full SHA for 021be7f
cmake/warnings.cmake
@@ -20,12 +20,14 @@ target_compile_options(
20
$<$<CXX_COMPILER_ID:Clang>:-Wgcc-compat>
21
$<$<CXX_COMPILER_ID:Clang>:-Wheader-hygiene>
22
$<$<CXX_COMPILER_ID:Clang>:-Widiomatic-parentheses>
23
- $<$<CXX_COMPILER_ID:Clang>:-Wimplicit>
+ $<$<CXX_COMPILER_ID:Clang>:-Wimplicit-fallthrough>
24
$<$<CXX_COMPILER_ID:GNU>:-Wlogical-op>
25
$<$<CXX_COMPILER_ID:Clang>:-Wnewline-eof>
26
-Wold-style-cast
27
-Woverloaded-virtual
28
+ $<$<CXX_COMPILER_ID:Clang>:-Wpedantic>
29
-Wshadow
30
+ $<$<CXX_COMPILER_ID:Clang>:-Wshift-sign-overflow>
31
$<$<CXX_COMPILER_ID:GNU>:-Wuseless-cast>
32
-Wunused
33
$<$<CXX_COMPILER_ID:Clang>:-Wmissing-prototypes>)
0 commit comments