trunk/src/build/flags_gcc.mak
| r243379 | r243380 | |
| 10 | 10 | endif |
| 11 | 11 | |
| 12 | 12 | ifeq ($(findstring 4.8.,$(TEST_GCC)),4.8.) |
| 13 | | CCOMFLAGS += -Wno-narrowing -Wno-attributes -Wno-unused-local-typedefs |
| 13 | CCOMFLAGS += -Wno-narrowing -Wno-attributes |
| 14 | 14 | # array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds) |
| 15 | 15 | CCOMFLAGS += -Wno-unused-variable -Wno-array-bounds |
| 16 | 16 | endif |
| 17 | 17 | |
| 18 | 18 | ifeq ($(findstring 4.9.,$(TEST_GCC)),4.9.) |
| 19 | | CCOMFLAGS += -Wno-narrowing -Wno-attributes -Wno-unused-local-typedefs |
| 19 | CCOMFLAGS += -Wno-narrowing -Wno-attributes |
| 20 | 20 | CCOMFLAGS += -Wno-array-bounds |
| 21 | 21 | endif |
| 22 | 22 | |
trunk/src/emu/addrmap.h
| r243379 | r243380 | |
| 305 | 305 | #define ADDRESS_MAP_START(_name, _space, _bits, _class) \ |
| 306 | 306 | void ADDRESS_MAP_NAME(_name)(address_map &map, device_t &device) \ |
| 307 | 307 | { \ |
| 308 | | typedef read##_bits##_delegate read_delegate; \ |
| 309 | | typedef write##_bits##_delegate write_delegate; \ |
| 308 | typedef read##_bits##_delegate read_delegate ATTR_UNUSED; \ |
| 309 | typedef write##_bits##_delegate write_delegate ATTR_UNUSED; \ |
| 310 | 310 | address_map_entry##_bits *curentry = NULL; \ |
| 311 | 311 | (void)curentry; \ |
| 312 | 312 | map.configure(_space, _bits); \ |
| 313 | | typedef _class drivdata_class; |
| 313 | typedef _class drivdata_class ATTR_UNUSED; |
| 314 | 314 | #define DEVICE_ADDRESS_MAP_START(_name, _bits, _class) \ |
| 315 | 315 | void _class :: _name(::address_map &map, device_t &device) \ |
| 316 | 316 | { \ |
| 317 | | typedef read##_bits##_delegate read_delegate; \ |
| 318 | | typedef write##_bits##_delegate write_delegate; \ |
| 317 | typedef read##_bits##_delegate read_delegate ATTR_UNUSED; \ |
| 318 | typedef write##_bits##_delegate write_delegate ATTR_UNUSED; \ |
| 319 | 319 | address_map_entry##_bits *curentry = NULL; \ |
| 320 | 320 | (void)curentry; \ |
| 321 | 321 | map.configure(AS_PROGRAM, _bits); \ |
| 322 | | typedef _class drivdata_class; |
| 322 | typedef _class drivdata_class ATTR_UNUSED; |
| 323 | 323 | #define ADDRESS_MAP_END \ |
| 324 | 324 | } |
| 325 | 325 | |