pdbox: Gate the warning suppression to apply only to GCC 13 and newer.
Change-Id: Ie0f39fde5e682f3995ed852417b61ae383c5e23b
This commit is contained in:
parent
3a8d5525ae
commit
ab0ba139f5
1 changed files with 2 additions and 0 deletions
|
@ -272,7 +272,9 @@ static int outlet_eventno;
|
||||||
recursion */
|
recursion */
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Warray-bounds"
|
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||||
|
#if __GNUC__ >= 13
|
||||||
#pragma GCC diagnostic ignored "-Wdangling-pointer"
|
#pragma GCC diagnostic ignored "-Wdangling-pointer"
|
||||||
|
#endif
|
||||||
void outlet_setstacklim(void)
|
void outlet_setstacklim(void)
|
||||||
{
|
{
|
||||||
char c;
|
char c;
|
||||||
|
|
Loading…
Reference in a new issue