chiark / gitweb /
autogen.sh: add more warnings
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 5 Feb 2009 18:01:27 +0000 (19:01 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 5 Feb 2009 18:01:27 +0000 (19:01 +0100)
autogen.sh

index be3b674..fb96d4a 100755 (executable)
@@ -6,7 +6,8 @@ CFLAGS="-g -Wall \
 -Wmissing-declarations -Wmissing-prototypes \
 -Wnested-externs -Wpointer-arith \
 -Wpointer-arith -Wsign-compare -Wchar-subscripts \
--Wstrict-prototypes -Wshadow"
+-Wstrict-prototypes -Wshadow \
+-Wformat=2 -Wtype-limits"
 args="--prefix=/usr --exec-prefix= --sysconfdir=/etc --with-selinux"
 libdir=$(basename $(cd /lib/$(gcc -print-multi-os-directory); pwd))