aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-11-16 14:52:25 +0000
committerlloyd <[email protected]>2013-11-16 14:52:25 +0000
commite23193c46074dc28e500a944103abb08ec725723 (patch)
treece47b479b1ec39cf9619c4dd92d0ad39340dffd7 /src/build-data
parentcac58ad976fffdab5d78a4c835c0e3cbd9e33ae8 (diff)
Enable all the GCC warning flags, as we now require at least GCC 4.7 anyway
Fix a few nullptr and cast warnings.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/cc/gcc.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index cfa223098..3a12c64ed 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -9,9 +9,7 @@ add_lib_dir_option -L
add_lib_option -l
lang_flags "-D_REENTRANT -std=c++11"
-warning_flags "-Wextra -Wall"
-
-maintainer_warning_flags "-Werror -Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wold-style-cast -Wno-error=old-style-cast -Wzero-as-null-pointer-constant"
+warning_flags "-Werror -Wno-error=old-style-cast -Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wold-style-cast -Wzero-as-null-pointer-constant"
lib_opt_flags "-O3"
check_opt_flags "-O2"