Joel Sherrill created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/730

Project:Branches: joel/rtems:fix-implicit-fallthrough-warnings to 
rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill
Reviewer: Kinsey Moore


## Summary

cpukit/include/rtems/score/basedefs.h: Add RTEMS_FALL_THROUGH()

The RTEMS_FALL_THROUGH macro was needed to provide a portable
way to annotate that a case in a switch statement intentionally
does not have a break statement. It is known as "falling through"
and a common bug.

Adding this macro enabled addressing -Wimplicit-fallthrough warnings.


<!-- Default settings, if it is a dropdown it will set after submission -->

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to