RTEMS | error.h macro cleanup (#5489)

Gedare Bloom (@gedare) gitlab at rtems.org
Thu Feb 12 20:21:00 UTC 2026



Gedare Bloom created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5489



## Summary
<!--
Please provide as much information as possible such as error messages or attaching logs
-->

In [cpukit/include/rtems/error.h at line 100](https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/cpukit/include/rtems/error.h?ref_type=heads#L100) there is an `#if 0` with some code that was deactivated with the rationale it is not 16-bit clean. We do not care about 16 bit targets anymore, so that rationale doesn't matter. The macros that are beneath the `#else` part are hard-coded for 32-bit. The part with `#if 0` should be restored and tested, and the part with hard-coded values should be removed.

## Steps to reproduce


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

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5489
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/20260212/812c5f07/attachment.htm>


More information about the bugs mailing list