RTEMS | libdl Wsigned-compare warnings (#5404)

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



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

Assignee: Chris Johns

## Summary
libdl has 74 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 [libdl-Wsign-compare.txt](/uploads/fd3c4c7c91b799f37b336977e135349b/libdl-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/5404
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/b3ad5458/attachment.htm>


More information about the bugs mailing list