RTEMS | rtl Wsigned-compare warnings (#5406)

Joel Sherrill (@joel) gitlab at rtems.org
Fri Dec 5 20:30:44 UTC 2025



Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5406

Assignee: Chris Johns

## Summary

The rfs has 91  sign compare warnings. The is from comparing a signed variable to an unsigned one. It is often just from choosing the wrong type for a local variable or parameter.

See [rfs-Wsign-compare.txt](/uploads/a50e2f7700e34b8c5970ab57ddf8ea14/rfs-Wsign-compare.txt) for the list when building for sparc/leon3.

## Steps to reproduce
It will be necessary to disable -Werror and enable this specific warning in _the_optwarn.yml_.

<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5406
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/20251205/08d384a8/attachment.htm>


More information about the bugs mailing list