aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-19 15:38:20 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-19 15:38:20 +0000
commit0496598e77c6b735a3a5c0ab77c2b33c95c76834 (patch)
tree949a2509938b3fceeca0ecef60711d7e67a1111e
parentfb3eee5f0bf02585b337268612f788acfe729598 (diff)
when --enable-debug is used to set debug options with gcc, use -Wno-long-long
to inhibit long long warnings (ISO C90 does not support `long long')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d2c42a373..9662063e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -933,7 +933,7 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
CPPFLAGS="$CPPFLAGS -DCURLDEBUG"
CFLAGS="$CFLAGS -g"
if test "$GCC" = "yes"; then
- CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wnested-externs"
+ CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs"
fi
dnl strip off optimizer flags
NEWFLAGS=""