[RTEMS Project] #4122: Change RTEMS_NO_RETURN to use C11 and C++11 standard means

RTEMS trac trac at rtems.org
Sat Oct 10 12:01:40 UTC 2020


#4122: Change RTEMS_NO_RETURN to use C11 and C++11 standard means
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  6.1
Component:  rtems            |     Version:  6
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------
Changes (by Sebastian Huber <sebastian.huber@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"d7a48e1b259316533a5c775e27934760e1fcd313/rtems"
 d7a48e1/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="d7a48e1b259316533a5c775e27934760e1fcd313"
 rtems: Improve RTEMS_NO_RETURN attribute

 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.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4122#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list