From c630682ad8c2cf597d1786ec637587678f3c7d6e Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 30 Jan 2015 00:01:58 +0100 Subject: [PATCH] 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. --- Makefile | 2 +- templates/Makefile.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 372284d6a0c..fb665c26b44 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 a3de50c0811..6f196ebec1c 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