Skip to content

Commit 021be7f

Browse files
authored
Merge pull request intel#107 from elbeno/refine-warnings
2 parents 5b1e51f + 1ffed5d commit 021be7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmake/warnings.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ target_compile_options(
2020
$<$<CXX_COMPILER_ID:Clang>:-Wgcc-compat>
2121
$<$<CXX_COMPILER_ID:Clang>:-Wheader-hygiene>
2222
$<$<CXX_COMPILER_ID:Clang>:-Widiomatic-parentheses>
23-
$<$<CXX_COMPILER_ID:Clang>:-Wimplicit>
23+
$<$<CXX_COMPILER_ID:Clang>:-Wimplicit-fallthrough>
2424
$<$<CXX_COMPILER_ID:GNU>:-Wlogical-op>
2525
$<$<CXX_COMPILER_ID:Clang>:-Wnewline-eof>
2626
-Wold-style-cast
2727
-Woverloaded-virtual
28+
$<$<CXX_COMPILER_ID:Clang>:-Wpedantic>
2829
-Wshadow
30+
$<$<CXX_COMPILER_ID:Clang>:-Wshift-sign-overflow>
2931
$<$<CXX_COMPILER_ID:GNU>:-Wuseless-cast>
3032
-Wunused
3133
$<$<CXX_COMPILER_ID:Clang>:-Wmissing-prototypes>)

0 commit comments

Comments
 (0)