From 82bec7c3c947784b7fac7b63c4d7412e2491d740 Mon Sep 17 00:00:00 2001 From: François Revel Date: Sun, 2 Aug 2009 08:30:31 +0000 Subject: Sorry, but -Werror on gcc2 is asking for trouble here... svn path=/trunk/libwapcaplet/; revision=8979 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ffb84c1..380365a 100644 --- a/Makefile +++ b/Makefile @@ -13,9 +13,9 @@ TESTRUNNER = $(BUILDDIR)/test_testrunner$(EXEEXT) # Toolchain flags WARNFLAGS := -Wall -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ - -Wmissing-declarations -Wnested-externs -Werror -pedantic + -Wmissing-declarations -Wnested-externs -pedantic ifneq ($(GCCVER),2) - WARNFLAGS := $(WARNFLAGS) -Wextra + WARNFLAGS := $(WARNFLAGS) -Werror -Wextra endif CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) -- cgit v1.2.3