From a73889a4f36cb45785225c411d5091bf7d1ab4ce Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 3 Aug 2009 16:18:14 +0000 Subject: Reinstate -Werror for GCC2 svn path=/trunk/libcss/; revision=9019 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 545badf..c9b1342 100644 --- a/Makefile +++ b/Makefile @@ -12,9 +12,9 @@ TESTRUNNER := $(PERL) build/testtools/testrunner.pl # Toolchain flags WARNFLAGS := -Wall -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ - -Wmissing-declarations -Wnested-externs -pedantic + -Wmissing-declarations -Wnested-externs -Werror -pedantic ifneq ($(GCCVER),2) - WARNFLAGS := $(WARNFLAGS) -Werror -Wextra + WARNFLAGS := $(WARNFLAGS) -Wextra endif CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) -- cgit v1.2.3