trunk/src/devices/cpu/sh2/sh2comn.cpp
| r250187 | r250188 | |
| 13 | 13 | #include "sh2.h" |
| 14 | 14 | #include "sh2comn.h" |
| 15 | 15 | |
| 16 | | |
| 17 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 18 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 19 | | #pragma GCC diagnostic push |
| 20 | | #pragma GCC diagnostic ignored "-Wformat" |
| 21 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 22 | | #endif |
| 23 | | |
| 24 | 16 | #define VERBOSE 0 |
| 25 | 17 | |
| 26 | 18 | #define LOG(x) do { if (VERBOSE) logerror x; } while (0) |
| r250187 | r250188 | |
| 1022 | 1014 | { |
| 1023 | 1015 | COMBINE_DATA(&m_sh7021_regs[offset]); |
| 1024 | 1016 | } |
| 1025 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 1026 | | #pragma GCC diagnostic pop |
| 1027 | | #endif |
trunk/src/devices/machine/nvram.cpp
| r250187 | r250188 | |
| 11 | 11 | #include "emu.h" |
| 12 | 12 | #include "machine/nvram.h" |
| 13 | 13 | |
| 14 | | |
| 15 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 16 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 17 | | #pragma GCC diagnostic push |
| 18 | | #pragma GCC diagnostic ignored "-Wformat" |
| 19 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 20 | | #endif |
| 21 | | |
| 22 | 14 | //************************************************************************** |
| 23 | 15 | // LIVE DEVICE |
| 24 | 16 | //************************************************************************** |
| r250187 | r250188 | |
| 175 | 167 | if (m_region != NULL && m_region->bytes() != m_length) |
| 176 | 168 | throw emu_fatalerror("NVRAM device '%s' has a default region, but it should be 0x%" SIZETFMT "X bytes", tag(), m_length); |
| 177 | 169 | } |
| 178 | | |
| 179 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 180 | | #pragma GCC diagnostic pop |
| 181 | | #endif |
trunk/src/devices/machine/pci.cpp
| r250187 | r250188 | |
| 2 | 2 | // copyright-holders:Olivier Galibert |
| 3 | 3 | #include "pci.h" |
| 4 | 4 | |
| 5 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 6 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 7 | | #pragma GCC diagnostic push |
| 8 | | #pragma GCC diagnostic ignored "-Wformat" |
| 9 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 10 | | #endif |
| 11 | | |
| 12 | 5 | const device_type PCI_ROOT = &device_creator<pci_root_device>; |
| 13 | 6 | const device_type PCI_BRIDGE = &device_creator<pci_bridge_device>; |
| 14 | 7 | |
| r250187 | r250188 | |
| 902 | 895 | void pci_root_device::device_reset() |
| 903 | 896 | { |
| 904 | 897 | } |
| 905 | | |
| 906 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 907 | | #pragma GCC diagnostic pop |
| 908 | | #endif |
trunk/src/devices/machine/pit8253.cpp
| r250187 | r250188 | |
| 23 | 23 | #include "emu.h" |
| 24 | 24 | #include "machine/pit8253.h" |
| 25 | 25 | |
| 26 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 27 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 28 | | #pragma GCC diagnostic push |
| 29 | | #pragma GCC diagnostic ignored "-Wformat" |
| 30 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 31 | | #endif |
| 32 | | |
| 33 | 26 | /* device types */ |
| 34 | 27 | enum |
| 35 | 28 | { |
| r250187 | r250188 | |
| 1129 | 1122 | { |
| 1130 | 1123 | set_clock_signal(2, state); |
| 1131 | 1124 | } |
| 1132 | | |
| 1133 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 1134 | | #pragma GCC diagnostic pop |
| 1135 | | #endif |
trunk/src/devices/sound/discrete.cpp
| r250187 | r250188 | |
| 39 | 39 | #include "sound/wavwrite.h" |
| 40 | 40 | #include "discrete.h" |
| 41 | 41 | |
| 42 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 43 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 44 | | #pragma GCC diagnostic push |
| 45 | | #pragma GCC diagnostic ignored "-Wformat" |
| 46 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 47 | | #endif |
| 48 | | |
| 49 | | |
| 50 | 42 | /* for_each collides with c++ standard libraries - include it here */ |
| 51 | 43 | #define for_each(_T, _e, _l) for (_T _e = (_l)->begin_ptr() ; _e <= (_l)->end_ptr(); _e++) |
| 52 | 44 | |
| r250187 | r250188 | |
| 1142 | 1134 | discrete_log("discrete_sound_w write to non-existent NODE_%02d\n", offset-NODE_00); |
| 1143 | 1135 | } |
| 1144 | 1136 | } |
| 1145 | | |
| 1146 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 1147 | | #pragma GCC diagnostic pop |
| 1148 | | #endif |
trunk/src/emu/audit.cpp
| r250187 | r250188 | |
| 15 | 15 | #include "sound/samples.h" |
| 16 | 16 | #include "softlist.h" |
| 17 | 17 | |
| 18 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 19 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 20 | | #pragma GCC diagnostic push |
| 21 | | #pragma GCC diagnostic ignored "-Wformat" |
| 22 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 23 | | #endif |
| 24 | | |
| 25 | | |
| 26 | 18 | //************************************************************************** |
| 27 | 19 | // CORE FUNCTIONS |
| 28 | 20 | //************************************************************************** |
| r250187 | r250188 | |
| 615 | 607 | m_shared_device(NULL) |
| 616 | 608 | { |
| 617 | 609 | } |
| 618 | | |
| 619 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 620 | | #pragma GCC diagnostic pop |
| 621 | | #endif |
trunk/src/emu/schedule.cpp
| r250187 | r250188 | |
| 11 | 11 | #include "emu.h" |
| 12 | 12 | #include "debugger.h" |
| 13 | 13 | |
| 14 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 15 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 16 | | #pragma GCC diagnostic push |
| 17 | | #pragma GCC diagnostic ignored "-Wformat" |
| 18 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 19 | | #endif |
| 20 | | |
| 21 | | |
| 22 | 14 | //************************************************************************** |
| 23 | 15 | // DEBUGGING |
| 24 | 16 | //************************************************************************** |
| r250187 | r250188 | |
| 990 | 982 | timer->dump(); |
| 991 | 983 | machine().logerror("=============================================\n"); |
| 992 | 984 | } |
| 993 | | |
| 994 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 995 | | #pragma GCC diagnostic pop |
| 996 | | #endif |
trunk/src/lib/netlist/nl_parser.cpp
| r250187 | r250188 | |
| 9 | 9 | #include "nl_factory.h" |
| 10 | 10 | #include "devices/nld_truthtable.h" |
| 11 | 11 | |
| 12 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 13 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 14 | | #pragma GCC diagnostic push |
| 15 | | #pragma GCC diagnostic ignored "-Wformat" |
| 16 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 17 | | #endif |
| 18 | | |
| 19 | 12 | namespace netlist |
| 20 | 13 | { |
| 21 | 14 | // ---------------------------------------------------------------------------------------- |
| r250187 | r250188 | |
| 463 | 456 | #endif |
| 464 | 457 | } |
| 465 | 458 | } |
| 466 | | |
| 467 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 468 | | #pragma GCC diagnostic pop |
| 469 | | #endif |
trunk/src/lib/netlist/plib/pparser.cpp
| r250187 | r250188 | |
| 9 | 9 | |
| 10 | 10 | #include "pparser.h" |
| 11 | 11 | |
| 12 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 13 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 14 | | #pragma GCC diagnostic push |
| 15 | | #pragma GCC diagnostic ignored "-Wformat" |
| 16 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 17 | | #endif |
| 18 | | |
| 19 | 12 | // ---------------------------------------------------------------------------------------- |
| 20 | 13 | // A simple tokenizer |
| 21 | 14 | // ---------------------------------------------------------------------------------------- |
| r250187 | r250188 | |
| 475 | 468 | } |
| 476 | 469 | return ostrm; |
| 477 | 470 | } |
| 478 | | |
| 479 | | |
| 480 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 481 | | #pragma GCC diagnostic pop |
| 482 | | #endif |
trunk/src/lib/netlist/solver/nld_solver.cpp
| r250187 | r250188 | |
| 9 | 9 | * the vectorizations fast-math enables pretty expensive |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 13 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 14 | | #pragma GCC diagnostic push |
| 15 | | #pragma GCC diagnostic ignored "-Wformat" |
| 16 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 17 | | #endif |
| 18 | | |
| 19 | | |
| 20 | 12 | #if 0 |
| 21 | 13 | #pragma GCC optimize "-ffast-math" |
| 22 | 14 | //#pragma GCC optimize "-ftree-parallelize-loops=4" |
| r250187 | r250188 | |
| 649 | 641 | } |
| 650 | 642 | |
| 651 | 643 | NETLIB_NAMESPACE_DEVICES_END() |
| 652 | | |
| 653 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 654 | | #pragma GCC diagnostic pop |
| 655 | | #endif |
trunk/src/lib/netlist/tools/nl_convert.cpp
| r250187 | r250188 | |
| 11 | 11 | #include "nl_convert.h" |
| 12 | 12 | |
| 13 | 13 | |
| 14 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 15 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 16 | | #pragma GCC diagnostic push |
| 17 | | #pragma GCC diagnostic ignored "-Wformat" |
| 18 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 19 | | #endif |
| 20 | | |
| 21 | 14 | template<typename Class> |
| 22 | 15 | static plist_t<int> bubble(const pnamedlist_t<Class *> &sl) |
| 23 | 16 | { |
| r250187 | r250188 | |
| 453 | 446 | } |
| 454 | 447 | |
| 455 | 448 | } |
| 456 | | |
| 457 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 458 | | #pragma GCC diagnostic pop |
| 459 | | #endif |
trunk/src/mame/drivers/chihiro.cpp
| r250187 | r250188 | |
| 378 | 378 | #include "includes/chihiro.h" |
| 379 | 379 | #include "includes/xbox.h" |
| 380 | 380 | |
| 381 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 382 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 383 | | #pragma GCC diagnostic push |
| 384 | | #pragma GCC diagnostic ignored "-Wformat" |
| 385 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 386 | | #endif |
| 387 | | |
| 388 | 381 | #define LOG_PCI |
| 389 | 382 | //#define LOG_BASEBOARD |
| 390 | 383 | |
| r250187 | r250188 | |
| 1283 | 1276 | // 0023 |
| 1284 | 1277 | // 0024 GAME( 2009, ccfboxo, ccfboxa, chihirogd, chihiro, driver_device, 0, ROT0, "Sega", "Chihiro Firmware Update For Compact Flash Box (GDX-0024)", MACHINE_NO_SOUND|MACHINE_NOT_WORKING ) |
| 1285 | 1278 | /* 0024A */ GAME( 2009, ccfboxa, chihiro, chihirogd, chihiro, driver_device, 0, ROT0, "Sega", "Chihiro Firmware Update For Compact Flash Box (Rev A) (GDX-0024A)", MACHINE_NO_SOUND|MACHINE_NOT_WORKING ) |
| 1286 | | |
| 1287 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 1288 | | #pragma GCC diagnostic pop |
| 1289 | | #endif |
trunk/src/mame/drivers/model3.cpp
| r250187 | r250188 | |
| 667 | 667 | #include "includes/model3.h" |
| 668 | 668 | |
| 669 | 669 | |
| 670 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 671 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 672 | | #pragma GCC diagnostic push |
| 673 | | #pragma GCC diagnostic ignored "-Wformat" |
| 674 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 675 | | #endif |
| 676 | | |
| 677 | | |
| 678 | 670 | void model3_state::update_irq_state() |
| 679 | 671 | { |
| 680 | 672 | if ((m_irq_enable & m_irq_state) || m_scsi_irq_state) |
| r250187 | r250188 | |
| 6059 | 6051 | GAME( 1999, eca, 0, model3_21_5881, eca, model3_state, eca, ROT0, "Sega", "Emergency Call Ambulance (Export)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS | MACHINE_IMPERFECT_SOUND ) |
| 6060 | 6052 | GAME( 1999, ecau, eca, model3_21_5881, eca, model3_state, eca, ROT0, "Sega", "Emergency Call Ambulance (USA)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS | MACHINE_IMPERFECT_SOUND ) |
| 6061 | 6053 | GAME( 1999, ecap, eca, model3_21_5881, eca, model3_state, eca, ROT0, "Sega", "Emergency Call Ambulance (US location test?)", MACHINE_NOT_WORKING | MACHINE_IMPERFECT_GRAPHICS | MACHINE_IMPERFECT_SOUND ) |
| 6062 | | |
| 6063 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 6064 | | #pragma GCC diagnostic pop |
| 6065 | | #endif |
trunk/src/mame/drivers/naomi.cpp
| r250187 | r250188 | |
| 1580 | 1580 | #include "includes/naomi.h" |
| 1581 | 1581 | |
| 1582 | 1582 | |
| 1583 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 1584 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 1585 | | #pragma GCC diagnostic push |
| 1586 | | #pragma GCC diagnostic ignored "-Wformat" |
| 1587 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 1588 | | #endif |
| 1589 | | |
| 1590 | | |
| 1591 | 1583 | #define CPU_CLOCK (200000000) |
| 1592 | 1584 | |
| 1593 | 1585 | READ64_MEMBER(naomi_state::naomi_arm_r ) |
| r250187 | r250188 | |
| 9437 | 9429 | GAME( 2006, xtrmhnt2, awbios, aw2c, aw2c, naomi_state, xtrmhnt2, ROT0, "Sega", "Extreme Hunting 2", GAME_FLAGS ) |
| 9438 | 9430 | GAME( 2008, claychal, awbios, aw2c, aw2c, naomi_state, atomiswave, ROT0, "Sega", "Sega Clay Challenge", GAME_FLAGS ) |
| 9439 | 9431 | GAME( 2009, basschal, awbios, aw2c, aw2c, naomi_state, atomiswave, ROT0, "Sega", "Sega Bass Fishing Challenge", GAME_FLAGS ) |
| 9440 | | |
| 9441 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 9442 | | #pragma GCC diagnostic pop |
| 9443 | | #endif |
trunk/src/mame/drivers/ssem.cpp
| r250187 | r250188 | |
| 11 | 11 | #include "cpu/ssem/ssem.h" |
| 12 | 12 | #include "imagedev/snapquik.h" |
| 13 | 13 | |
| 14 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 15 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 16 | | #pragma GCC diagnostic push |
| 17 | | #pragma GCC diagnostic ignored "-Wformat" |
| 18 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 19 | | #endif |
| 20 | | |
| 21 | 14 | class ssem_state : public driver_device |
| 22 | 15 | { |
| 23 | 16 | public: |
| r250187 | r250188 | |
| 649 | 642 | |
| 650 | 643 | /* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME */ |
| 651 | 644 | COMP(1948, ssem, 0, 0, ssem, ssem, driver_device, 0, "Manchester University", "Small-Scale Experimental Machine (SSEM), 'Baby'", MACHINE_NO_SOUND_HW | MACHINE_SUPPORTS_SAVE ) |
| 652 | | |
| 653 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 654 | | #pragma GCC diagnostic pop |
| 655 | | #endif |
trunk/src/mame/machine/dc.cpp
| r250187 | r250188 | |
| 14 | 14 | #include "machine/naomig1.h" |
| 15 | 15 | #include "video/powervr2.h" |
| 16 | 16 | |
| 17 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 18 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 19 | | #pragma GCC diagnostic push |
| 20 | | #pragma GCC diagnostic ignored "-Wformat" |
| 21 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 22 | | #endif |
| 23 | | |
| 24 | 17 | #define DEBUG_REGISTERS (1) |
| 25 | 18 | |
| 26 | 19 | #if DEBUG_REGISTERS |
| r250187 | r250188 | |
| 729 | 722 | { |
| 730 | 723 | m_powervr2->pvr_scanline_timer(param); |
| 731 | 724 | } |
| 732 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 733 | | #pragma GCC diagnostic pop |
| 734 | | #endif |
trunk/src/mame/machine/xbox.cpp
| r250187 | r250188 | |
| 16 | 16 | #include "includes/chihiro.h" |
| 17 | 17 | #include "includes/xbox.h" |
| 18 | 18 | |
| 19 | | // for now, make buggy GCC/Mingw STFU about I64FMT |
| 20 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 21 | | #pragma GCC diagnostic push |
| 22 | | #pragma GCC diagnostic ignored "-Wformat" |
| 23 | | #pragma GCC diagnostic ignored "-Wformat-extra-args" |
| 24 | | #endif |
| 25 | | |
| 26 | 19 | #define LOG_PCI |
| 27 | 20 | //#define LOG_OHCI |
| 28 | 21 | //#define USB_ENABLED |
| r250187 | r250188 | |
| 1536 | 1529 | MCFG_SCREEN_UPDATE_DRIVER(xbox_base_state, screen_update_callback) |
| 1537 | 1530 | MCFG_SCREEN_VBLANK_DRIVER(xbox_base_state, vblank_callback) |
| 1538 | 1531 | MACHINE_CONFIG_END |
| 1539 | | |
| 1540 | | #if (defined(__MINGW32__) && (__GNUC__ >= 5)) |
| 1541 | | #pragma GCC diagnostic pop |
| 1542 | | #endif |