forked from len0rd/rockbox
coldfire: Silence a warning generated by GCC >= 9
Basically, there are weak aliases for all possible IRQ handlers, pointing at a NORETURN function. GCC complains that the aliases don't have the same attribute, but that's actually what we want. Change-Id: I7f877e00193ed457589c8442db82e93ddea0d60a
This commit is contained in:
parent
62d6c7ecaa
commit
6cb0bc3468
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,11 @@
|
|||
#include "lcd.h"
|
||||
#include "font.h"
|
||||
|
||||
#if __GNUC__ >= 9
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmissing-attributes"
|
||||
#endif
|
||||
|
||||
#define default_interrupt(name) \
|
||||
extern __attribute__((weak,alias("UIE"))) void name (void)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue