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

Joel Sherrill (@joel) gitlab at rtems.org
Thu Sep 18 20:56:17 UTC 2025




Joel Sherrill commented on a discussion on cpukit/libmisc/shell/hexdump-parse.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/730#note_131211

 >  				switch(sokay) {
 >  				case NOTOKAY:
 >  					badsfmt(globals);
 > +					RTEMS_FALL_THROUGH();

This was a bit more complicated to fix but not that many characters. I backed off all changes to hexdump-parse.c. badsfmt() was one of a set of functions with the "__dead" macro applied. __dead was defined to nothing in err.h. It is now defined to RTEMS_NO_RETURN.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/730#note_131211
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/52f34935/attachment.htm>


More information about the bugs mailing list