mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-26 15:58:41 +00: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
2 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue