RTEMS | score/cpu/or1k/include/.../or1k-utility.h: enum value must be int (!610)

Joel Sherrill (@joel) gitlab at rtems.org
Thu Jul 17 22:01:43 UTC 2025



Joel Sherrill created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/610

Project:Branches: joel/rtems:or1k-enum-value-to-int to rtems/rtos/rtems:main
Author:   Joel Sherrill
Assignee: Joel Sherrill



## Summary

score/cpu/or1k/include/.../or1k-utility.h: enum value must be int

GCC gave the warning that "ISO C restricts enumerator values to
range of 'int' before C23 [-Wpedantic]."

Changed place holder value from 0xffffffff to 0x7fffffff.


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/610
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/20250717/9f51d3f4/attachment-0001.htm>


More information about the bugs mailing list