PS2: Ignore warnings from toolchain headers.

The `gsInline.h` header creates `Wdeclaration-after-statement` warnings.
This commit is contained in:
Pierre Wendling 2022-10-10 22:29:31 -04:00 committed by Sam Lantinga
parent 0472794609
commit 8117bfe5d1
2 changed files with 8 additions and 0 deletions
src

View File

@ -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)

View File

@ -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_ */