mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
These are not needed with official tools (nw)
This commit is contained in:
parent
6f3d1ec8f4
commit
4046c861ba
@ -13,14 +13,6 @@
|
||||
#include "sh2.h"
|
||||
#include "sh2comn.h"
|
||||
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
#define VERBOSE 0
|
||||
|
||||
#define LOG(x) do { if (VERBOSE) logerror x; } while (0)
|
||||
@ -1022,6 +1014,3 @@ WRITE16_MEMBER(sh2a_device::sh7021_w)
|
||||
{
|
||||
COMBINE_DATA(&m_sh7021_regs[offset]);
|
||||
}
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -11,14 +11,6 @@
|
||||
#include "emu.h"
|
||||
#include "machine/nvram.h"
|
||||
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
//**************************************************************************
|
||||
// LIVE DEVICE
|
||||
//**************************************************************************
|
||||
@ -175,7 +167,3 @@ void nvram_device::determine_final_base()
|
||||
if (m_region != NULL && m_region->bytes() != m_length)
|
||||
throw emu_fatalerror("NVRAM device '%s' has a default region, but it should be 0x%" SIZETFMT "X bytes", tag(), m_length);
|
||||
}
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -2,13 +2,6 @@
|
||||
// copyright-holders:Olivier Galibert
|
||||
#include "pci.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
const device_type PCI_ROOT = &device_creator<pci_root_device>;
|
||||
const device_type PCI_BRIDGE = &device_creator<pci_bridge_device>;
|
||||
|
||||
@ -902,7 +895,3 @@ void pci_root_device::device_start()
|
||||
void pci_root_device::device_reset()
|
||||
{
|
||||
}
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -23,13 +23,6 @@
|
||||
#include "emu.h"
|
||||
#include "machine/pit8253.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
/* device types */
|
||||
enum
|
||||
{
|
||||
@ -1129,7 +1122,3 @@ WRITE_LINE_MEMBER( pit8253_device::write_clk2 )
|
||||
{
|
||||
set_clock_signal(2, state);
|
||||
}
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -39,14 +39,6 @@
|
||||
#include "sound/wavwrite.h"
|
||||
#include "discrete.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
|
||||
/* for_each collides with c++ standard libraries - include it here */
|
||||
#define for_each(_T, _e, _l) for (_T _e = (_l)->begin_ptr() ; _e <= (_l)->end_ptr(); _e++)
|
||||
|
||||
@ -1142,7 +1134,3 @@ WRITE8_MEMBER( discrete_device::write )
|
||||
discrete_log("discrete_sound_w write to non-existent NODE_%02d\n", offset-NODE_00);
|
||||
}
|
||||
}
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -15,14 +15,6 @@
|
||||
#include "sound/samples.h"
|
||||
#include "softlist.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// CORE FUNCTIONS
|
||||
//**************************************************************************
|
||||
@ -615,7 +607,3 @@ audit_record::audit_record(const char *name, media_type type)
|
||||
m_shared_device(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -11,14 +11,6 @@
|
||||
#include "emu.h"
|
||||
#include "debugger.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
|
||||
//**************************************************************************
|
||||
// DEBUGGING
|
||||
//**************************************************************************
|
||||
@ -990,7 +982,3 @@ void device_scheduler::dump_timers() const
|
||||
timer->dump();
|
||||
machine().logerror("=============================================\n");
|
||||
}
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -9,13 +9,6 @@
|
||||
#include "nl_factory.h"
|
||||
#include "devices/nld_truthtable.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
namespace netlist
|
||||
{
|
||||
// ----------------------------------------------------------------------------------------
|
||||
@ -463,7 +456,3 @@ nl_double parser_t::eval_param(const token_t tok)
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -5,13 +5,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
#ifndef PCONFIG_H_
|
||||
#define PCONFIG_H_
|
||||
|
||||
@ -206,7 +199,3 @@ private:
|
||||
#endif
|
||||
|
||||
#endif /* PCONFIG_H_ */
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -9,13 +9,6 @@
|
||||
|
||||
#include "pparser.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
// A simple tokenizer
|
||||
// ----------------------------------------------------------------------------------------
|
||||
@ -475,8 +468,3 @@ postream & ppreprocessor::process_i(pistream &istrm, postream &ostrm)
|
||||
}
|
||||
return ostrm;
|
||||
}
|
||||
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -9,14 +9,6 @@
|
||||
* the vectorizations fast-math enables pretty expensive
|
||||
*/
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
|
||||
#if 0
|
||||
#pragma GCC optimize "-ffast-math"
|
||||
//#pragma GCC optimize "-ftree-parallelize-loops=4"
|
||||
@ -649,7 +641,3 @@ ATTR_COLD void NETLIB_NAME(solver)::post_start()
|
||||
}
|
||||
|
||||
NETLIB_NAMESPACE_DEVICES_END()
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -11,13 +11,6 @@
|
||||
#include "nl_convert.h"
|
||||
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
template<typename Class>
|
||||
static plist_t<int> bubble(const pnamedlist_t<Class *> &sl)
|
||||
{
|
||||
@ -453,7 +446,3 @@ void nl_convert_eagle_t::convert(const pstring &contents)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -378,13 +378,6 @@ Thanks to Alex, Mr Mudkips, and Philip Burke for this info.
|
||||
#include "includes/chihiro.h"
|
||||
#include "includes/xbox.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
#define LOG_PCI
|
||||
//#define LOG_BASEBOARD
|
||||
|
||||
@ -1283,7 +1276,3 @@ ROM_END
|
||||
// 0023
|
||||
// 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 )
|
||||
/* 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 )
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -667,14 +667,6 @@ ALL VROM ROMs are 16M MASK
|
||||
#include "includes/model3.h"
|
||||
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
|
||||
void model3_state::update_irq_state()
|
||||
{
|
||||
if ((m_irq_enable & m_irq_state) || m_scsi_irq_state)
|
||||
@ -6059,7 +6051,3 @@ GAME( 1998, magtruck, 0, model3_21_5881, eca, model3_state, magtruc
|
||||
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 )
|
||||
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 )
|
||||
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 )
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -1580,14 +1580,6 @@ Sushi Bar
|
||||
#include "includes/naomi.h"
|
||||
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
|
||||
#define CPU_CLOCK (200000000)
|
||||
|
||||
READ64_MEMBER(naomi_state::naomi_arm_r )
|
||||
@ -9437,7 +9429,3 @@ GAME( 2006, mslug6, awbios, aw2c, aw2c, naomi_state, atomiswave, ROT0, "Sega
|
||||
GAME( 2006, xtrmhnt2, awbios, aw2c, aw2c, naomi_state, xtrmhnt2, ROT0, "Sega", "Extreme Hunting 2", GAME_FLAGS )
|
||||
GAME( 2008, claychal, awbios, aw2c, aw2c, naomi_state, atomiswave, ROT0, "Sega", "Sega Clay Challenge", GAME_FLAGS )
|
||||
GAME( 2009, basschal, awbios, aw2c, aw2c, naomi_state, atomiswave, ROT0, "Sega", "Sega Bass Fishing Challenge", GAME_FLAGS )
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -11,13 +11,6 @@
|
||||
#include "cpu/ssem/ssem.h"
|
||||
#include "imagedev/snapquik.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
class ssem_state : public driver_device
|
||||
{
|
||||
public:
|
||||
@ -649,7 +642,3 @@ ROM_END
|
||||
|
||||
/* YEAR NAME PARENT COMPAT MACHINE INPUT INIT COMPANY FULLNAME */
|
||||
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 )
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -14,13 +14,6 @@
|
||||
#include "machine/naomig1.h"
|
||||
#include "video/powervr2.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
#define DEBUG_REGISTERS (1)
|
||||
|
||||
#if DEBUG_REGISTERS
|
||||
@ -729,6 +722,3 @@ TIMER_DEVICE_CALLBACK_MEMBER(dc_state::dc_scanline)
|
||||
{
|
||||
m_powervr2->pvr_scanline_timer(param);
|
||||
}
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
@ -16,13 +16,6 @@
|
||||
#include "includes/chihiro.h"
|
||||
#include "includes/xbox.h"
|
||||
|
||||
// for now, make buggy GCC/Mingw STFU about I64FMT
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wformat"
|
||||
#pragma GCC diagnostic ignored "-Wformat-extra-args"
|
||||
#endif
|
||||
|
||||
#define LOG_PCI
|
||||
//#define LOG_OHCI
|
||||
//#define USB_ENABLED
|
||||
@ -1536,7 +1529,3 @@ MACHINE_CONFIG_START(xbox_base, xbox_base_state)
|
||||
MCFG_SCREEN_UPDATE_DRIVER(xbox_base_state, screen_update_callback)
|
||||
MCFG_SCREEN_VBLANK_DRIVER(xbox_base_state, vblank_callback)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
#if (defined(__MINGW32__) && (__GNUC__ >= 5))
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user