aboutsummaryrefslogtreecommitdiffstats
path: root/misc/config/cc
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-08-31 02:42:31 +0000
committerlloyd <[email protected]>2008-08-31 02:42:31 +0000
commitdc2752448ddef6e96ad81bbf585fcaf971eeaf5f (patch)
treeefc6c24b94dd38b495a2ce59e4036daf9808cf43 /misc/config/cc
parentd3e891a166622f4d59b716e9a2239bbcb7f12ce7 (diff)
Extra warnings for GCC 4
Diffstat (limited to 'misc/config/cc')
-rw-r--r--misc/config/cc/gcc3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/config/cc/gcc b/misc/config/cc/gcc
index 376817947..36c5158e2 100644
--- a/misc/config/cc/gcc
+++ b/misc/config/cc/gcc
@@ -9,7 +9,8 @@ add_lib_dir_option "-L"
add_lib_option "-l"
lang_flags "-D_REENTRANT -ansi -Wno-long-long"
-warning_flags "-W -Wall"
+#warning_flags "-W -Wall"
+warning_flags "-Werror -Wall -Wextra -Wstrict-aliasing -Wstrict-overflow -Wcast-qual -Wmissing-declarations"
lib_opt_flags "-O2 -finline-functions"
check_opt_flags "-O2"