projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5549180
)
Add -Wpointer-arith to compiler flags.
author
Ben Pfaff
<blp@nicira.com>
Thu, 4 Sep 2008 17:42:04 +0000
(10:42 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 4 Sep 2008 20:53:26 +0000
(13:53 -0700)
This should help us to avoid doing pointer arithmetic on void * pointers,
which is a GCC extension that other compilers do not support.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 1505c6bbd4a9e2b7569e145e8e1eb21c8449deb3..570c7de0b784c0b25d981fe0d5cc522d6ee3df32 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
"
OFP_ENABLE_EXT