trunk/src/build/flags_clang.mak
| r243377 | r243378 | |
| 23 | 23 | CCOMFLAGS += -fsanitize-memory-track-origins -fPIE |
| 24 | 24 | endif |
| 25 | 25 | |
| 26 | ifdef CPP11 |
| 27 | CCOMFLAGS += -Wno-deprecated-register -Wno-reserved-user-defined-literal -Wno-c++11-narrowing |
| 28 | endif |
| 29 | |
| 26 | 30 | # TODO: needs to use $(CC) |
| 27 | 31 | TEST_CLANG := $(shell clang --version) |
| 28 | 32 | |
| r243377 | r243378 | |
| 32 | 36 | |
| 33 | 37 | ifeq ($(findstring 3.5,$(TEST_CLANG)),3.5) |
| 34 | 38 | CCOMFLAGS += -Wno-inline-new-delete |
| 35 | | # these show up when compiling as c++11 |
| 36 | | CCOMFLAGS += -Wno-deprecated-register -Wno-reserved-user-defined-literal -Wno-c++11-narrowing |
| 37 | 39 | |
| 38 | 40 | # caused by src/mess/drivers/x07.c, src/osd/sdl/window.c, src/emu/sound/disc_mth.inc, src/mame/video/chihiro.c |
| 39 | 41 | CCOMFLAGS += -Wno-absolute-value |