From 77179c022f59c1b393b4ad69ab81a3ba2f05fae5 Mon Sep 17 00:00:00 2001 From: François Revel Date: Sun, 2 Aug 2009 08:55:19 +0000 Subject: ...but this one gcc2 really doesn't like: warning: bit-field `type' type invalid in ANSI C. svn path=/trunk/libcss/; revision=8982 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c9b1342..545badf 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 -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