Open SuperHeroAbner opened 2 weeks ago
The compiler header for IAR is provided and maintained by IAR. Please consider raising this question directly with them as I am not aware how frequently they are watching CMSIS issues.
@jlonnberg maybe you can help.
The type of attribute((noreturn)) can be put before or after function like 'void func(void) NO_RETURN;'. If use the type of [[noreturn]] or _Noreturn, it must be like 'NO_RETURN void func(void)' CMSIS_6 https://github.com/ARM-software/CMSIS_6/blob/main/CMSIS/Core/Include/cmsis_iccarm.h#L57 CMSIS_5 https://github.com/ARM-software/CMSIS_5/blob/develop/CMSIS/Core/Include/cmsis_iccarm.h#L130 This introduces compatibility issue. Does attribute((noreturn)) have any issue to apply on IAR compared with _Noreturn + [[noreturn]] ?