RTEMS | libdebugger -Wsign-compare Warnings. (#5405)

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



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

Assignee: Chris Johns

## Summary
libdebugger has the following Wsign compare warnings from the sparc/leon3 build.

```
../../../cpukit/libdebugger/rtems-debugger-powerpc.c:530:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
../../../cpukit/libdebugger/rtems-debugger-smp.c:86:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]

```

## 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/5405
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/79da09e5/attachment.htm>


More information about the bugs mailing list