diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-01-30 00:01:58 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2015-01-30 00:01:58 +0100 |
commit | c630682ad8c2cf597d1786ec637587678f3c7d6e (patch) | |
tree | f249f5738984436791f6c72df25efa35aa00a9cb | |
parent | 3726a4d4770896892eda72fd0786d12245109527 (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-- | Makefile | 2 | ||||
-rw-r--r-- | templates/Makefile.template | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |