From 8123e22e018e0d99646733d2b25bae439b73e4fc Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 8 Jan 2009 15:49:03 -0800 Subject: [PATCH] Enable many additional GCC warnings by default. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]) -- 2.30.2