mirror of https://github.com/zeldaret/tmc.git
disable PACKED and ALIGNED in CLion
CLion does not like these macros when doing static analysis, so disable them for that. Does not affect build.
This commit is contained in:
parent
deacc6e95e
commit
4c88a43f42
|
@ -16,9 +16,13 @@
|
|||
|
||||
#define NAKED __attribute__((naked))
|
||||
#define UNUSED __attribute__((unused))
|
||||
#ifdef __CLION_IDE__
|
||||
#define PACKED
|
||||
#define ALIGNED(n)
|
||||
#else
|
||||
#define PACKED __attribute__((packed))
|
||||
|
||||
#define ALIGNED(n) __attribute__((aligned(n)))
|
||||
#endif
|
||||
|
||||
#define SOUND_INFO_PTR (*(struct SoundInfo**)0x3007FF0)
|
||||
#define INTR_CHECK (*(u16*)0x3007FF8)
|
||||
|
|
Loading…
Reference in New Issue