mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
fix some warnings on older GCCs (e.g. OSX PPC) (nw)
This commit is contained in:
parent
cd32bc2f2a
commit
533028e3bd
@ -65,7 +65,7 @@ March 2013 NPW:
|
||||
//**************************************************************************
|
||||
|
||||
// turn off 'unreferenced label' errors
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
|
||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
|
@ -136,6 +136,8 @@ enum
|
||||
class psxcpu_state
|
||||
{
|
||||
public:
|
||||
virtual ~psxcpu_state() {};
|
||||
|
||||
virtual UINT32 pc() = 0;
|
||||
virtual UINT32 delayr() = 0;
|
||||
virtual UINT32 delayv() = 0;
|
||||
@ -150,6 +152,7 @@ class psxcpu_device : public cpu_device,
|
||||
public:
|
||||
// construction/destruction
|
||||
psxcpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
|
||||
virtual ~psxcpu_device() {};
|
||||
|
||||
// static configuration helpers
|
||||
template<class _Object> static devcb2_base &set_gpu_read_handler(device_t &device, _Object object) { return downcast<psxcpu_device &>(device).m_gpu_read_handler.set_callback(object); }
|
||||
|
Loading…
Reference in New Issue
Block a user