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; recursion */ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Warray-bounds" +#if __GNUC__ >= 13 #pragma GCC diagnostic ignored "-Wdangling-pointer" +#endif void outlet_setstacklim(void) { char c;