aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/gcc.txt
diff options
context:
space:
mode:
authorRenĂ© Korthaus <[email protected]>2016-01-13 19:38:11 +0100
committerRenĂ© Korthaus <[email protected]>2016-01-13 19:38:11 +0100
commit09365199f758110a96c538d04c2f8ff90b9b86b6 (patch)
tree70c3396882eeb07b2c5e58f3c32387b865b8937a /src/build-data/cc/gcc.txt
parent5305d7f5da142ecf5e9a88e9680a02622e006cb1 (diff)
Enable -Wpedantic on gcc and clang
Diffstat (limited to 'src/build-data/cc/gcc.txt')
-rw-r--r--src/build-data/cc/gcc.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index b00f8bd31..634b9e751 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -9,7 +9,7 @@ add_lib_option -l
lang_flags "-std=c++11 -D_REENTRANT"
maintainer_warning_flags "-Wold-style-cast -Werror -Wno-error=old-style-cast -Wno-error=zero-as-null-pointer-constant -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=strict-overflow -Wsuggest-override -Wsuggest-attribute=noreturn"
-warning_flags "-Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor"
+warning_flags "-Wall -Wextra -Wpedantic -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor"
compile_flags "-c"
debug_info_flags "-g"