RTEMS | jffs2 Wsigned-compare warnings (#5407)

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



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

Assignee: Kinsey Moore

## Summary
The jffs2 has 44 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 [jff2-Wsign-compare.txt](/uploads/97a8911333ad139251ea072b12cbc1ab/jff2-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/5407
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/a0843117/attachment.htm>


More information about the bugs mailing list