From 0496598e77c6b735a3a5c0ab77c2b33c95c76834 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 19 Aug 2003 15:38:20 +0000 Subject: 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') --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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="" -- cgit v1.2.3