[PATCH] rtems: Improve RTEMS_NO_RETURN attribute

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Oct 6 07:33:03 UTC 2020


On 06/10/2020 08:06, Sebastian Huber wrote:

> Provide RTEMS_NO_RETURN also in case RTEMS_DEBUG is defined to prevent errors
> like this:
>
> error: no return statement in function returning non-void [-Werror=return-type]
>
> Use C11 and C++11 standard means to declare a no-return function.
>
> Close #4122.
Sorry, the main part of the patch was missing from the commit. I send a 
v2 patch.


More information about the devel mailing list