From dcb8e2f09a29e0961c96a1189f571cc38d907c68 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 12 Apr 2013 14:24:04 +0000 Subject: Move zero as null pointer warning to maintainer mode flags --- src/build-data/cc/gcc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index 7efff5097..59e9671f5 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 -Wzero-as-null-pointer-constant" +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" +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" lib_opt_flags "-O3" check_opt_flags "-O2" -- cgit v1.2.3