mirror of
https://github.com/holub/mame
synced 2025-06-27 22:54:42 +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
|
endif
|
||||||
|
|
||||||
ifdef CPP11
|
ifdef CPP11
|
||||||
CCOMFLAGS += -Wno-deprecated-register -Wno-reserved-user-defined-literal -Wno-c++11-narrowing
|
CCOMFLAGS += -Wno-deprecated-register -Wno-c++11-narrowing
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# TODO: needs to use $(CC)
|
# TODO: needs to use $(CC)
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
# TODO: needs to use $(CC)
|
# TODO: needs to use $(CC)
|
||||||
TEST_GCC := $(shell gcc --version)
|
TEST_GCC := $(shell gcc --version)
|
||||||
|
|
||||||
ifdef CPP11
|
|
||||||
CPPONLYFLAGS += -Wno-literal-suffix
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(findstring 4.7.,$(TEST_GCC)),4.7.)
|
ifeq ($(findstring 4.7.,$(TEST_GCC)),4.7.)
|
||||||
CCOMFLAGS += -Wno-narrowing -Wno-attributes
|
CCOMFLAGS += -Wno-narrowing -Wno-attributes
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user