Enable many additional GCC warnings by default.
authorBen Pfaff <blp@nicira.com>
Thu, 8 Jan 2009 23:49:03 +0000 (15:49 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 8 Jan 2009 23:49:03 +0000 (15:49 -0800)
configure.ac

index 708b1fe5c22b4593ef311ea88bd554ab211ee496..733e343491bb5aea4143b13f109179eb91e0ec5c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2008 The Board of Trustees of The Leland Stanford
+# Copyright (c) 2008, 2009 The Board of Trustees of The Leland Stanford
 # Junior University
 #
 # We are making the OpenFlow specification and associated documentation
@@ -64,7 +64,7 @@ OFP_CHECK_LINUX(l24, 2.4, 2.4, KSRC24, L24_ENABLED)
 
 OFP_CHECK_DPKG_BUILDPACKAGE
 
-CFLAGS="$CFLAGS -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement"
+CFLAGS="$CFLAGS -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -Wno-override-init"
 
 OFP_ENABLE_EXT
 m4_include([ext.m4])