Loading configure.ac +4 −0 Original line number Diff line number Diff line Loading @@ -849,6 +849,7 @@ AC_CHECK_HEADERS( sys/time.h \ sys/select.h \ sys/socket.h \ sys/ioctl.h \ assert.h \ unistd.h \ malloc.h \ Loading Loading @@ -1013,6 +1014,9 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), CFLAGS="$CFLAGS -g" if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs" dnl here's a more aggressive set to use: dnl 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 -Wfloat-equal -Wsign-compare -Wunreachable-code" fi dnl strip off optimizer flags NEWFLAGS="" Loading Loading
configure.ac +4 −0 Original line number Diff line number Diff line Loading @@ -849,6 +849,7 @@ AC_CHECK_HEADERS( sys/time.h \ sys/select.h \ sys/socket.h \ sys/ioctl.h \ assert.h \ unistd.h \ malloc.h \ Loading Loading @@ -1013,6 +1014,9 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), CFLAGS="$CFLAGS -g" if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs" dnl here's a more aggressive set to use: dnl 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 -Wfloat-equal -Wsign-compare -Wunreachable-code" fi dnl strip off optimizer flags NEWFLAGS="" Loading