aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-19 21:34:52 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-19 21:34:52 +0000
commite295cd759c69ef1fcc61cffe04895c70f4a37f67 (patch)
treec35eb9dfbea1f0062e6119ec1f8621e00f768ca6
parenta472cd93107eb5ecf07c31b2490846f054cdfcc5 (diff)
-Wcast-align is a bit too annoying
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7a2a6e5dd..9307bf117 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1203,7 +1203,10 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
dnl we only like gcc less than 5.0, since if it is above that it is
dnl likely just a compiler that looks like gcc (like icc 8.0)!
dnl here's the standard setup
- WARN="-W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wno-format-nonliteral -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wsign-compare"
+ WARN="-W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wno-format-nonliteral -Wundef -Wpointer-arith -Wnested-externs -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wsign-compare"
+
+ dnl -Wcast-align is a bit too annoying ;-)
+
if test "$gccnum" -ge "296"; then
dnl gcc 2.96 or later
WARN="$WARN -Wfloat-equal"