From: Taylor R Campbell Date: Thu, 8 Nov 2018 16:16:25 +0000 (+0000) Subject: Merge all the warning flags into the same list. X-Git-Tag: mit-scheme-pucked-10.1.2~16^2~116^2~6 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=29ccb1f313d00dd3becb3f2c510388a7e95355d0;p=mit-scheme.git Merge all the warning flags into the same list. --- diff --git a/src/microcode/configure.ac b/src/microcode/configure.ac index 300baf74f..ea4af189f 100644 --- a/src/microcode/configure.ac +++ b/src/microcode/configure.ac @@ -208,22 +208,27 @@ if test ${GCC} = yes; then CFLAGS="-O0 -g -DENABLE_DEBUGGING_TOOLS ${CFLAGS}" LDFLAGS="${LDFLAGS} -g" fi - CFLAGS="-Wall -Wundef -Wpointer-arith -Winline ${CFLAGS}" - CFLAGS="-Wstrict-prototypes -Wnested-externs -Wredundant-decls ${CFLAGS}" CFLAGS_WERROR=-Werror for flag in \ + -Wall \ -Wclobbered \ -Wempty-body \ -Wignored-qualifiers \ -Wimplicit-fallthrough \ + -Winline \ -Wmissing-field-initializers \ -Wmissing-parameter-type \ + -Wnested-externs \ -Wold-style-declaration \ -Woverride-init \ + -Wpointer-arith \ + -Wredundant-decls \ + -Wshift-negative-value \ + -Wstrict-prototypes \ -Wtype-limits \ + -Wundef \ -Wuninitialized \ - -Wshift-negative-value \ ; do AC_MSG_CHECKING([for compiler warning $flag]) SAVED_CFLAGS="$CFLAGS"