Skip to content
Snippets Groups Projects
Commit 0496598e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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')
parent fb3eee5f
No related branches found
No related tags found
No related merge requests found
......@@ -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=""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment