summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-04-09 13:55:09 +1000
committerDan McGee <dan@archlinux.org>2012-04-09 00:03:32 -0500
commit8fb1948cd05eb90d8c61c7ab4873c90eea0e9f09 (patch)
treee5666557cf2543827f92f06bedcf5c657ed7096a
parentc27a9467692616900189fce43cd18d14bbda7929 (diff)
downloadpacman-8fb1948cd05eb90d8c61c7ab4873c90eea0e9f09.tar.xz
Add more warning flags
Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b31b58a8..eccf425b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -373,6 +373,7 @@ if test "x$warningflags" = "xyes" ; then
CFLAGS_ADD([-Winit-self], [WARNING_CFLAGS])
CFLAGS_ADD([-Wlogical-op], [WARNING_CFLAGS])
CFLAGS_ADD([-Wmissing-declarations], [WARNING_CFLAGS])
+ CFLAGS_ADD([-Wmissing-field-initializers], [WARNING_CFLAGS])
CFLAGS_ADD([-Wmissing-parameter-type], [WARNING_CFLAGS])
CFLAGS_ADD([-Wmissing-prototypes], [WARNING_CFLAGS])
CFLAGS_ADD([-Wold-style-declaration], [WARNING_CFLAGS])