Author: jmb
Date: Fri Nov 6 00:40:36 2009
New Revision: 9663
URL:
http://source.netsurf-browser.org?rev=9663&view=rev
Log:
-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)
Modified:
trunk/dom/Makefile
Modified: trunk/dom/Makefile
URL:
http://source.netsurf-browser.org/trunk/dom/Makefile?rev=9663&r1=9662...
==============================================================================
--- trunk/dom/Makefile (original)
+++ trunk/dom/Makefile Fri Nov 6 00:40:36 2009
@@ -10,7 +10,7 @@
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/ \