aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-01-11 20:19:40 +0000
committerlloyd <[email protected]>2013-01-11 20:19:40 +0000
commit165739667a2778168d14afc6f6af3e666c43de92 (patch)
tree956d9117a535662b89094cbaec93a6bf44c361ac
parent55aca8017a87f0de61372c89196373872e54edd9 (diff)
Turn on zero as nullptr warning all the time
-rw-r--r--src/build-data/cc/gcc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index 615fb2db8..7efff5097 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -9,9 +9,9 @@ add_lib_dir_option -L
add_lib_option -l
lang_flags "-D_REENTRANT -std=c++11"
-warning_flags "-Wextra -Wall"
+warning_flags "-Wextra -Wall -Wzero-as-null-pointer-constant"
-maintainer_warning_flags "-Werror -Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wold-style-cast -Wzero-as-null-pointer-constant -Wno-error=old-style-cast"
+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"
lib_opt_flags "-O3"
check_opt_flags "-O2"