mirror of https://github.com/moparisthebest/curl
this code uses no long long, so we can have warnings about them
This commit is contained in:
parent
0ffec4272a
commit
bd7ba3bde6
|
@ -37,7 +37,7 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
|
||||||
CFLAGS="$CFLAGS -g"
|
CFLAGS="$CFLAGS -g"
|
||||||
if test "$GCC" = "yes"; then
|
if test "$GCC" = "yes"; then
|
||||||
dnl these work for gcc 2.95
|
dnl these work for gcc 2.95
|
||||||
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wsign-compare"
|
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wsign-compare"
|
||||||
dnl 2.96 or higher: -Wfloat-equal -Wunreachable-code
|
dnl 2.96 or higher: -Wfloat-equal -Wunreachable-code
|
||||||
fi
|
fi
|
||||||
dnl strip off optimizer flags
|
dnl strip off optimizer flags
|
||||||
|
|
Loading…
Reference in New Issue