+2006-11-14 Theodore Tso <tytso@mit.edu>
+
+ * MCONFIG.in (WFLAGS): Add -fstrict-aliasing and
+ -Wno-variadic-macros. Also use -std=c99 and
+ -D_XOPEN_SOURCE=600 and -D_GNU_SOURCE to suppress
+ spurious warnings.
+
2006-11-12 Theodore Tso <tytso@mit.edu>
* configure, configure.in (E2FSPROGS_PKGVER): Define
# Run make gcc-wall to do a build with warning messages.
#
#
-WFLAGS= -ansi -D_POSIX_SOURCE -pedantic $(WFLAGS_EXTRA) \
+WFLAGS= -std=c99 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE \
+ -pedantic $(WFLAGS_EXTRA) \
-Wall -W -Wwrite-strings -Wpointer-arith \
- -Wcast-qual -Wcast-align \
+ -Wcast-qual -Wcast-align -Wno-variadic-macros \
-Wstrict-prototypes -Wmissing-prototypes \
-Wformat-security -Wformat-nonliteral \
- -Wmissing-format-attribute \
+ -Wmissing-format-attribute -O2 -Wstrict-aliasing \
-Wnested-externs -Winline -DNO_INLINE_FUNCS -Wshadow \
-UENABLE_NLS