From 2b7b13a4ad92ed14f7f2da2aa3cc7a1f7ebdb875 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 9 Feb 2007 20:07:02 +0100 Subject: Makefile: Add -W to CFLAGS According to TAOSA chapter 6 -Wall does not warn about some bug types. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 16b61dc..5687c8c 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ prefix = /usr/local DESTDIR = CC := gcc -CFLAGS := $(CFLAGS) -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" \ +CFLAGS := $(CFLAGS) -W -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\"" \ -Wstrict-prototypes -Wsign-compare -Wshadow -Wchar-subscripts \ -Wmissing-declarations -Wpointer-arith -Wcast-align -Wmissing-prototypes LDFLAGS := -- cgit v1.2.3-54-g00ecf