Hi,
I'm using an UNREACHABLE() macro that invokes a custom assert function.
This assert function is defined with the noreturn attribute.
#define UNREACHABLE() bsp_on_assert(__LINE__) void __attribute__((noreturn)) bsp_on_assert(int line);
The problem: it looks like CCS ignores the attribute and throws a warning.
How can I define a UNREACHABLE macro using CCS?
Code Composer Studio: Version: 12.6.0.00008
Compiler: TI v20.2.7.LTS
Regards,
Gabriel