aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-01-30 00:01:58 +0100
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-01-30 00:01:58 +0100
commitc630682ad8c2cf597d1786ec637587678f3c7d6e (patch)
treef249f5738984436791f6c72df25efa35aa00a9cb
parent3726a4d4770896892eda72fd0786d12245109527 (diff)
Enabling extra warnings, and disabling error on warning.
We have too many warnings going unchecked. The next step is to fix all these warnings. One can re-enable errors on warning by doing: CPPFLAGS=-Werror make in order to start fixing them.
-rw-r--r--Makefile2
-rw-r--r--templates/Makefile.template2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 372284d6a0..fb665c26b4 100644
--- a/Makefile
+++ b/Makefile
@@ -122,7 +122,7 @@ LDFLAGS += $(LDFLAGS_$(CONFIG))
CFLAGS += -std=c89 -pedantic
CXXFLAGS += -std=c++11
-CPPFLAGS += -g -fPIC -Wall -Werror -Wno-long-long
+CPPFLAGS += -g -fPIC -Wall -Wextra -Wno-long-long
LDFLAGS += -g -fPIC
INCLUDES = . include gens
diff --git a/templates/Makefile.template b/templates/Makefile.template
index a3de50c081..6f196ebec1 100644
--- a/templates/Makefile.template
+++ b/templates/Makefile.template
@@ -139,7 +139,7 @@ LDFLAGS += $(LDFLAGS_$(CONFIG))
CFLAGS += -std=c89 -pedantic
CXXFLAGS += -std=c++11
-CPPFLAGS += -g -fPIC -Wall -Werror -Wno-long-long
+CPPFLAGS += -g -fPIC -Wall -Wextra -Wno-long-long
LDFLAGS += -g -fPIC
INCLUDES = . include gens