projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5605c48
)
add Wstrict-overflow to warn options
author
Marko Kreen
<markokr@gmail.com>
Thu, 14 Feb 2008 14:21:56 +0000
(14:21 +0000)
committer
Marko Kreen
<markokr@gmail.com>
Thu, 14 Feb 2008 14:21:56 +0000
(14:21 +0000)
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index fcd1ca4fef0e428b6ad189402d47218760036ee3..6036a8f2d9b794a9dc84d8ebba07013770639f85 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-56,7
+56,7
@@
if test x"$GCC" = xyes; then
# Wextra does not turn those on?
flags="$flags -Wmissing-prototypes -Wpointer-arith -Wendif-labels"
flags="$flags -Wdeclaration-after-statement -Wold-style-definition"
- flags="$flags -Wstrict-prototypes -Wundef -Wformat -Wnonnull"
+ flags="$flags -Wstrict-prototypes -Wundef -Wformat -Wnonnull
-Wstrict-overflow
"
for f in $flags; do
CFLAGS="$good_CFLAGS $warnings $f"
AC_COMPILE_IFELSE([void foo(void){}], [warnings="$warnings $f"])