aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-30 16:02:05 -0400
committerJack Lloyd <[email protected]>2017-09-30 16:02:05 -0400
commit12da804481aa4bdb93be819ff96cb3e71783ca38 (patch)
tree111ba5c5f974c6f604bb4266284d1bcf0af4fe54 /src/build-data
parentcd9770038eee747404d6f99d4ca0eae23824dd88 (diff)
Move Clang -Wunreachable-code warning to maintainer mode
In older Clangs it produces false positives on compiler intrinsics and these will just frighten the user ;)
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/cc/clang.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index ee22e25e9..992748de7 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -10,8 +10,8 @@ add_framework_option "-framework "
lang_flags "-std=c++11 -D_REENTRANT"
-warning_flags "-Wall -Wextra -Wpedantic -Wshadow -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wunreachable-code"
-maintainer_warning_flags "-Wdocumentation -Qunused-arguments -Werror -Wno-error=unused-parameter -Wno-error=unreachable-code -Wno-error=deprecated-declarations"
+warning_flags "-Wall -Wextra -Wpedantic -Wshadow -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual"
+maintainer_warning_flags "-Wunreachable-code -Wdocumentation -Qunused-arguments -Werror -Wno-error=unused-parameter -Wno-error=unreachable-code -Wno-error=deprecated-declarations"
compile_flags "-c"
debug_info_flags "-g"