diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2023-05-22 10:28:38 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2023-05-22 10:28:38 -0400 |
commit | ab0ba139f50a9c9b3eadbe1c15d44ce88cf980d3 (patch) | |
tree | ebe1d5a01723753372b0f24bd9fc6ae5d878c356 /apps | |
parent | 3a8d5525ae60fe0800d4a1a9c26c95f204b6b16a (diff) | |
download | rockbox-ab0ba139f50a9c9b3eadbe1c15d44ce88cf980d3.tar.gz rockbox-ab0ba139f50a9c9b3eadbe1c15d44ce88cf980d3.zip |
pdbox: Gate the warning suppression to apply only to GCC 13 and newer.
Change-Id: Ie0f39fde5e682f3995ed852417b61ae383c5e23b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/m_obj.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/src/m_obj.c b/apps/plugins/pdbox/PDa/src/m_obj.c index c46593bcd6..8d4947f202 100644 --- a/apps/plugins/pdbox/PDa/src/m_obj.c +++ b/apps/plugins/pdbox/PDa/src/m_obj.c | |||
@@ -272,7 +272,9 @@ static int outlet_eventno; | |||
272 | recursion */ | 272 | recursion */ |
273 | #pragma GCC diagnostic push | 273 | #pragma GCC diagnostic push |
274 | #pragma GCC diagnostic ignored "-Warray-bounds" | 274 | #pragma GCC diagnostic ignored "-Warray-bounds" |
275 | #if __GNUC__ >= 13 | ||
275 | #pragma GCC diagnostic ignored "-Wdangling-pointer" | 276 | #pragma GCC diagnostic ignored "-Wdangling-pointer" |
277 | #endif | ||
276 | void outlet_setstacklim(void) | 278 | void outlet_setstacklim(void) |
277 | { | 279 | { |
278 | char c; | 280 | char c; |