RTEMS | Add -Wold-style-declaration warning to defaults and fix old style declaration (!698)

Joel Sherrill (@joel) gitlab at rtems.org
Wed Sep 3 14:18:34 UTC 2025



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

Project:Branches: joel/rtems:fix-old-style-declaration-warnings to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary
    
Newer C versions require that the storage-class specifier like static or _Thread_Local be the first thing in a declaration. Adding this warning to the default set to let us eliminate violations.

<!-- 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/698
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/20250903/984c086f/attachment.htm>


More information about the bugs mailing list