From: Ben Pfaff Date: Mon, 15 Sep 2008 23:43:40 +0000 (-0700) Subject: Add -Wdeclaration-after-statement to CFLAGS. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6198be5d05d195a7393b33a1df70dbf156c37c5;p=openvswitch Add -Wdeclaration-after-statement to CFLAGS. This should help us avoid writing non-portable code. --- diff --git a/configure.ac b/configure.ac index 1505c6bb..e7bbc3b8 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,7 @@ AC_SUBST(KARCH) OFP_CHECK_LINUX(l26, 2.6, 2.6, KSRC26, L26_ENABLED) OFP_CHECK_LINUX(l24, 2.4, 2.4, KSRC24, L24_ENABLED) -CFLAGS="$CFLAGS -Wall -Wno-sign-compare" +CFLAGS="$CFLAGS -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement" OFP_ENABLE_EXT