mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
"#pragma GCC diagnostic" was actually added in 4.2, fixes Intel OSX builds (nw)
This commit is contained in:
parent
0d71307c05
commit
c9e69c39f2
@ -87,8 +87,8 @@ March 2013 NPW:
|
|||||||
#define LOG_INTERRUPTS 0
|
#define LOG_INTERRUPTS 0
|
||||||
|
|
||||||
// turn off 'unreferenced label' errors
|
// turn off 'unreferenced label' errors
|
||||||
// this pragma doesn't work on older GCCs, so cut off at 4.4
|
// this pragma doesn't work on older GCCs, so cut off at 4.2
|
||||||
#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
|
#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
|
||||||
#pragma GCC diagnostic ignored "-Wunused-label"
|
#pragma GCC diagnostic ignored "-Wunused-label"
|
||||||
#endif
|
#endif
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
Loading…
Reference in New Issue
Block a user