re-enabled some C++11 compiler warnings (nw)

This commit is contained in:
Oliver Stöneberg 2015-02-05 17:52:09 +01:00
parent 37f2f2e5be
commit e1469ee855
2 changed files with 1 additions and 5 deletions

View File

@ -24,7 +24,7 @@ CCOMFLAGS += -fsanitize-memory-track-origins -fPIE
endif
ifdef CPP11
CCOMFLAGS += -Wno-deprecated-register -Wno-reserved-user-defined-literal -Wno-c++11-narrowing
CCOMFLAGS += -Wno-deprecated-register -Wno-c++11-narrowing
endif
# TODO: needs to use $(CC)

View File

@ -1,10 +1,6 @@
# TODO: needs to use $(CC)
TEST_GCC := $(shell gcc --version)
ifdef CPP11
CPPONLYFLAGS += -Wno-literal-suffix
endif
ifeq ($(findstring 4.7.,$(TEST_GCC)),4.7.)
CCOMFLAGS += -Wno-narrowing -Wno-attributes
endif