From 0720128f6b532da3b81b59b9929ad4846fc78657 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 6 Nov 2009 06:40:36 +0000 Subject: -Wextra is only understood by GCC 3.4.6 or later. It is a more descriptive synonym for -W. Use -W instead which is understood by all common versions of GCC (i.e. GCC 2.95 supports it, which is the oldest GCC version we have to support) svn path=/trunk/dom/; revision=9663 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2b5474b..7d9a40b 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ include build/makefiles/Makefile.tools TESTRUNNER := $(PERL) build/testtools/testrunner.pl # Toolchain flags -WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ +WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wmissing-declarations -Wnested-externs -Werror -pedantic CFLAGS := -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \ -- cgit v1.2.3