# Run make gcc-wall to do a build with warning messages.
#
#
-WFLAGS= -ansi -D_POSIX_SOURCE -pedantic \
- -Wall -Wwrite-strings -Wpointer-arith \
- -Wcast-qual -Wcast-align -Wtraditional \
+WFLAGS= -ansi -D_POSIX_SOURCE -pedantic $(WFLAGS_EXTRA) \
+ -Wall -W -Wwrite-strings -Wpointer-arith \
+ -Wcast-qual -Wcast-align \
-Wstrict-prototypes -Wmissing-prototypes \
- -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow
+ -Wformat-security -Wformat-nonliteral \
+ -Wmissing-format-attribute \
+ -Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow \
+ -UENABLE_NLS
gcc-wall-new:
(make USE_WFLAGS="$(WFLAGS)" > /dev/null) 2>&1 | sed -f $(top_srcdir)/util/gcc-wall-cleanup