RTEMS | cpukit/include/rtems/score/basedefs.h: Add RTEMS_FALL_THROUGH() (!730)

Chris Johns (@chris) gitlab at rtems.org
Thu Sep 18 21:43:59 UTC 2025



Merge request https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/730 was reviewed by Chris Johns

--
  
Chris Johns started a new discussion on cpukit/include/rtems/score/basedefs.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/730#note_131219

 > +  #define RTEMS_FALL_THROUGH() [[fallthrough]]
 > +#elif __GNUC__
 > +  #define RTEMS_FALL_THROUGH() __attribute__ ((fallthrough))

Why does the macro abstraction have `()`?


-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/730
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250918/61750040/attachment-0001.htm>


More information about the bugs mailing list