summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2021-11-24 20:08:45 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2021-11-24 20:08:45 +0000
commit5d732c75bf4012fe0398a979d72806fa10713966 (patch)
tree4b0b6d6f7c0cd77938309aff657883813c7969d5
parent3832f7edc4cd117642ad7890eb1476d1f9d8e918 (diff)
downloadlibnsgif-5d732c75bf4012fe0398a979d72806fa10713966.tar.gz
libnsgif-5d732c75bf4012fe0398a979d72806fa10713966.tar.bz2
Buildsystem: Add -Wextra to WARNFLAGS.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c348e20..2ae2406 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ include $(NSSHARED)/makefiles/Makefile.tools
TESTRUNNER = test/runtest.sh $(BUILDDIR) $(EXEEXT)
# Toolchain flags
-WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \
+WARNFLAGS := -Wall -Wextra -W -Wundef -Wpointer-arith -Wcast-align \
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \
-Wmissing-declarations -Wnested-externs -pedantic
# BeOS/Haiku standard library headers create warnings