mirror of https://github.com/encounter/SDL.git
PS2: Ignore warnings from toolchain headers.
The `gsInline.h` header creates `Wdeclaration-after-statement` warnings.
This commit is contained in:
parent
0472794609
commit
8117bfe5d1
src
|
@ -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