diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/rockboy/cpu.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/cpu.c b/apps/plugins/rockboy/cpu.c index 392dd49b5f..5469db3d4c 100644 --- a/apps/plugins/rockboy/cpu.c +++ b/apps/plugins/rockboy/cpu.c | |||
@@ -13,6 +13,11 @@ | |||
13 | #include "asm.h" | 13 | #include "asm.h" |
14 | #endif | 14 | #endif |
15 | 15 | ||
16 | /* GCC 11 complains about the code style. Just turn this off. */ | ||
17 | #if __GNUC__ >= 11 | ||
18 | #pragma GCC diagnostic push | ||
19 | #pragma GCC diagnostic ignored "-Wmisleading-identation" | ||
20 | #endif | ||
16 | 21 | ||
17 | struct cpu cpu IBSS_ATTR; | 22 | struct cpu cpu IBSS_ATTR; |
18 | bool plugbuf; | 23 | bool plugbuf; |
@@ -1004,3 +1009,7 @@ next: | |||
1004 | } | 1009 | } |
1005 | 1010 | ||
1006 | #endif /* ASM_CPU_EMULATE */ | 1011 | #endif /* ASM_CPU_EMULATE */ |
1012 | |||
1013 | #if __GNUC__ >= 11 | ||
1014 | #pragma GCC diagnostic pop | ||
1015 | #endif | ||