]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
build-sys: add another compiler warnings
authorKarel Zak <kzak@redhat.com>
Wed, 29 Aug 2012 18:26:21 +0000 (20:26 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 4 Sep 2012 14:49:28 +0000 (16:49 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac

index 8727d3468b4123d8d5a5dfc9531f622512f1656a..3e57334b3c90a80e3f6075152b2125e777ead49c 100644 (file)
@@ -116,6 +116,10 @@ UL_WARN_ADD([-Wunused-but-set-variable])
 UL_WARN_ADD([-Wunused-parameter])
 UL_WARN_ADD([-Wunused-result])
 UL_WARN_ADD([-Wunused-variable])
+UL_WARN_ADD([-Wnested-externs])
+UL_WARN_ADD([-Wpointer-arith])
+UL_WARN_ADD([-Wstrict-prototypes])
+UL_WARN_ADD([-Wformat-security])
 AC_SUBST([WARN_CFLAGS])
 
 dnl libtool-2