When
__NO_RETURN void someFunc(void)
gets mocked the mocked functions contains "__NO_RETURN void" as parameter which the iar compiler (IAR ANSI C/C++ Compiler V8.50.9.278/W32 for ARM) complains about, ex.
void osThreadExit_CMockIgnoreAndReturn(UNITY_LINE_TYPE cmock_line, __NO_RETURN void cmock_to_return);
"C:\something\build\test\mocks\mock_cmsis_os2.h",283 Error[Pe526]: a parameter may not have void type
Ceedling:: 0.28.2
Unity:: 2.4.1
CMock:: 2.4.4
CEXCEPTION = 1.3.1
Any idea how to solve it so still can mock the header file.