mirror of
https://github.com/holub/mame
synced 2025-06-26 22:29:10 +03:00
re-enabled some C++11 compiler warnings (nw)
This commit is contained in:
parent
37f2f2e5be
commit
e1469ee855
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user