projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08cd0bc
)
Add -Wdeclaration-after-statement to CFLAGS.
author
Ben Pfaff
<blp@nicira.com>
Mon, 15 Sep 2008 23:43:40 +0000
(16:43 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 15 Sep 2008 23:43:40 +0000
(16:43 -0700)
This should help us avoid writing non-portable code.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 1505c6bbd4a9e2b7569e145e8e1eb21c8449deb3..e7bbc3b864a69515b041c879e01da9ad4f322a83 100644
(file)
--- 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