From: Ben Pfaff Date: Thu, 8 Jan 2009 23:49:03 +0000 (-0800) Subject: Enable many additional GCC warnings by default. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8123e22e018e0d99646733d2b25bae439b73e4fc;p=openvswitch Enable many additional GCC warnings by default. --- diff --git a/configure.ac b/configure.ac index 708b1fe5..733e3434 100644 --- a/configure.ac +++ b/configure.ac @@ -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])