Previous 199869 Revisions Next

r41676 Tuesday 10th November, 2015 at 13:39:09 UTC by Miodrag Milanović
These are not needed with official tools (nw)
[src/devices/cpu/sh2]sh2comn.cpp
[src/devices/machine]nvram.cpp pci.cpp pit8253.cpp
[src/devices/sound]discrete.cpp
[src/emu]audit.cpp schedule.cpp
[src/lib/netlist]nl_parser.cpp
[src/lib/netlist/plib]pconfig.h pparser.cpp
[src/lib/netlist/solver]nld_solver.cpp
[src/lib/netlist/tools]nl_convert.cpp
[src/mame/drivers]chihiro.cpp model3.cpp naomi.cpp ssem.cpp
[src/mame/machine]dc.cpp xbox.cpp

trunk/src/devices/cpu/sh2/sh2comn.cpp
r250187r250188
1313#include "sh2.h"
1414#include "sh2comn.h"
1515
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
2416#define VERBOSE 0
2517
2618#define LOG(x)  do { if (VERBOSE) logerror x; } while (0)
r250187r250188
10221014{
10231015   COMBINE_DATA(&m_sh7021_regs[offset]);
10241016}
1025#if (defined(__MINGW32__) && (__GNUC__ >= 5))
1026#pragma GCC diagnostic pop
1027#endif
trunk/src/devices/machine/nvram.cpp
r250187r250188
1111#include "emu.h"
1212#include "machine/nvram.h"
1313
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
2214//**************************************************************************
2315//  LIVE DEVICE
2416//**************************************************************************
r250187r250188
175167   if (m_region != NULL && m_region->bytes() != m_length)
176168      throw emu_fatalerror("NVRAM device '%s' has a default region, but it should be 0x%" SIZETFMT "X bytes", tag(), m_length);
177169}
178
179#if (defined(__MINGW32__) && (__GNUC__ >= 5))
180#pragma GCC diagnostic pop
181#endif
trunk/src/devices/machine/pci.cpp
r250187r250188
22// copyright-holders:Olivier Galibert
33#include "pci.h"
44
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
125const device_type PCI_ROOT   = &device_creator<pci_root_device>;
136const device_type PCI_BRIDGE = &device_creator<pci_bridge_device>;
147
r250187r250188
902895void pci_root_device::device_reset()
903896{
904897}
905
906#if (defined(__MINGW32__) && (__GNUC__ >= 5))
907#pragma GCC diagnostic pop
908#endif
trunk/src/devices/machine/pit8253.cpp
r250187r250188
2323#include "emu.h"
2424#include "machine/pit8253.h"
2525
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
3326/* device types */
3427enum
3528{
r250187r250188
11291122{
11301123   set_clock_signal(2, state);
11311124}
1132
1133#if (defined(__MINGW32__) && (__GNUC__ >= 5))
1134#pragma GCC diagnostic pop
1135#endif
trunk/src/devices/sound/discrete.cpp
r250187r250188
3939#include "sound/wavwrite.h"
4040#include "discrete.h"
4141
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
5042/* for_each collides with c++ standard libraries - include it here */
5143#define for_each(_T, _e, _l) for (_T _e = (_l)->begin_ptr() ;  _e <= (_l)->end_ptr(); _e++)
5244
r250187r250188
11421134      discrete_log("discrete_sound_w write to non-existent NODE_%02d\n", offset-NODE_00);
11431135   }
11441136}
1145
1146#if (defined(__MINGW32__) && (__GNUC__ >= 5))
1147#pragma GCC diagnostic pop
1148#endif
trunk/src/emu/audit.cpp
r250187r250188
1515#include "sound/samples.h"
1616#include "softlist.h"
1717
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
2618//**************************************************************************
2719//  CORE FUNCTIONS
2820//**************************************************************************
r250187r250188
615607      m_shared_device(NULL)
616608{
617609}
618
619#if (defined(__MINGW32__) && (__GNUC__ >= 5))
620#pragma GCC diagnostic pop
621#endif
trunk/src/emu/schedule.cpp
r250187r250188
1111#include "emu.h"
1212#include "debugger.h"
1313
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
2214//**************************************************************************
2315//  DEBUGGING
2416//**************************************************************************
r250187r250188
990982      timer->dump();
991983   machine().logerror("=============================================\n");
992984}
993
994#if (defined(__MINGW32__) && (__GNUC__ >= 5))
995#pragma GCC diagnostic pop
996#endif
trunk/src/lib/netlist/nl_parser.cpp
r250187r250188
99#include "nl_factory.h"
1010#include "devices/nld_truthtable.h"
1111
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
1912namespace netlist
2013{
2114// ----------------------------------------------------------------------------------------
r250187r250188
463456#endif
464457}
465458}
466
467#if (defined(__MINGW32__) && (__GNUC__ >= 5))
468#pragma GCC diagnostic pop
469#endif
trunk/src/lib/netlist/plib/pconfig.h
r250187r250188
55 *
66 */
77
8// for now, make buggy GCC/Mingw STFU about I64FMT
9#if (defined(__MINGW32__) && (__GNUC__ >= 5))
10#pragma GCC diagnostic push
11#pragma GCC diagnostic ignored "-Wformat"
12#pragma GCC diagnostic ignored "-Wformat-extra-args"
13#endif
14
158#ifndef PCONFIG_H_
169#define PCONFIG_H_
1710
r250187r250188
206199#endif
207200
208201#endif /* PCONFIG_H_ */
209
210#if (defined(__MINGW32__) && (__GNUC__ >= 5))
211#pragma GCC diagnostic pop
212#endif
trunk/src/lib/netlist/plib/pparser.cpp
r250187r250188
99
1010#include "pparser.h"
1111
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
1912// ----------------------------------------------------------------------------------------
2013// A simple tokenizer
2114// ----------------------------------------------------------------------------------------
r250187r250188
475468   }
476469   return ostrm;
477470}
478
479
480#if (defined(__MINGW32__) && (__GNUC__ >= 5))
481#pragma GCC diagnostic pop
482#endif
trunk/src/lib/netlist/solver/nld_solver.cpp
r250187r250188
99 * the vectorizations fast-math enables pretty expensive
1010 */
1111
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
2012#if 0
2113#pragma GCC optimize "-ffast-math"
2214//#pragma GCC optimize "-ftree-parallelize-loops=4"
r250187r250188
649641}
650642
651643NETLIB_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
r250187r250188
1111#include "nl_convert.h"
1212
1313
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
2114template<typename Class>
2215static plist_t<int> bubble(const pnamedlist_t<Class *> &sl)
2316{
r250187r250188
453446   }
454447
455448}
456
457#if (defined(__MINGW32__) && (__GNUC__ >= 5))
458#pragma GCC diagnostic pop
459#endif
trunk/src/mame/drivers/chihiro.cpp
r250187r250188
378378#include "includes/chihiro.h"
379379#include "includes/xbox.h"
380380
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
388381#define LOG_PCI
389382//#define LOG_BASEBOARD
390383
r250187r250188
12831276// 0023
12841277// 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 )
12851278/* 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
r250187r250188
667667#include "includes/model3.h"
668668
669669
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
678670void model3_state::update_irq_state()
679671{
680672   if ((m_irq_enable & m_irq_state) || m_scsi_irq_state)
r250187r250188
60596051GAME( 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 )
60606052GAME( 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 )
60616053GAME( 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
r250187r250188
15801580#include "includes/naomi.h"
15811581
15821582
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
15911583#define CPU_CLOCK (200000000)
15921584
15931585READ64_MEMBER(naomi_state::naomi_arm_r )
r250187r250188
94379429GAME( 2006, xtrmhnt2, awbios, aw2c, aw2c, naomi_state, xtrmhnt2,   ROT0,   "Sega",                     "Extreme Hunting 2", GAME_FLAGS )
94389430GAME( 2008, claychal, awbios, aw2c, aw2c, naomi_state, atomiswave, ROT0,   "Sega",                     "Sega Clay Challenge", GAME_FLAGS )
94399431GAME( 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
r250187r250188
1111#include "cpu/ssem/ssem.h"
1212#include "imagedev/snapquik.h"
1313
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
2114class ssem_state : public driver_device
2215{
2316public:
r250187r250188
649642
650643/*   YEAR  NAME     PARENT    COMPAT   MACHINE  INPUT  INIT        COMPANY                       FULLNAME */
651644COMP(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
r250187r250188
1414#include "machine/naomig1.h"
1515#include "video/powervr2.h"
1616
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
2417#define DEBUG_REGISTERS (1)
2518
2619#if DEBUG_REGISTERS
r250187r250188
729722{
730723   m_powervr2->pvr_scanline_timer(param);
731724}
732#if (defined(__MINGW32__) && (__GNUC__ >= 5))
733#pragma GCC diagnostic pop
734#endif
trunk/src/mame/machine/xbox.cpp
r250187r250188
1616#include "includes/chihiro.h"
1717#include "includes/xbox.h"
1818
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
2619#define LOG_PCI
2720//#define LOG_OHCI
2821//#define USB_ENABLED
r250187r250188
15361529   MCFG_SCREEN_UPDATE_DRIVER(xbox_base_state, screen_update_callback)
15371530   MCFG_SCREEN_VBLANK_DRIVER(xbox_base_state, vblank_callback)
15381531MACHINE_CONFIG_END
1539
1540#if (defined(__MINGW32__) && (__GNUC__ >= 5))
1541#pragma GCC diagnostic pop
1542#endif


Previous 199869 Revisions Next


© 1997-2024 The MAME Team