summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-11-06 06:40:36 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-11-06 06:40:36 +0000
commite8c3969c6f0a5da0b1260e77b17a083485d065fd (patch)
tree41c8ec3712bf7cd194f78ed630518b7f319695bf
parent46b7d842f6c30d51758bf05a8542f624e39cc585 (diff)
downloadlibdom-e8c3969c6f0a5da0b1260e77b17a083485d065fd.tar.gz
libdom-e8c3969c6f0a5da0b1260e77b17a083485d065fd.tar.bz2
-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
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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/ \