From e231a5db51f1b21252b2404d0aa2f243baa87a1a Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 12 Aug 2008 11:19:32 +0200 Subject: add some warnings --- autogen.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 43c763bf2f..4ec4e0551a 100755 --- a/autogen.sh +++ b/autogen.sh @@ -43,6 +43,11 @@ automake --add-missing if test -z "$@"; then args="--prefix=/usr --exec-prefix= --sysconfdir=/etc" + export CFLAGS="-g -Wall \ +-Wmissing-declarations -Wmissing-prototypes \ +-Wnested-externs -Wpointer-arith \ +-Wpointer-arith -Wsign-compare -Wchar-subscripts \ +-Wstrict-prototypes -Wshadow" else args=$@ fi -- cgit v1.2.3-54-g00ecf