mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-30 23:33:42 +08:00
PS2: Ignore warnings from toolchain headers.
The `gsInline.h` header creates `Wdeclaration-after-statement` warnings.
This commit is contained in:
parent
0472794609
commit
8117bfe5d1
@ -30,7 +30,11 @@
|
||||
#include <gsKit.h>
|
||||
#include <dmaKit.h>
|
||||
#include <gsToolkit.h>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
|
||||
#include <gsInline.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
/* turn black GS Screen */
|
||||
#define GS_BLACK GS_SETREG_RGBA(0x00, 0x00, 0x00, 0x80)
|
||||
|
@ -31,7 +31,11 @@
|
||||
#include <dmaKit.h>
|
||||
|
||||
#include <gsToolkit.h>
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
|
||||
#include <gsInline.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#endif /* SDL_ps2video_h_ */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user