RTEMS | BSP Magic Addresses should use variables (#5499)
Joel Sherrill (@joel)
gitlab at rtems.org
Mon Feb 23 22:20:53 UTC 2026
Joel Sherrill commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5499#note_143374
Heads up that _-pedantic_ points out that our linker variable pattern is not valid ISO C. This is just a few of the warnings.
```
cpukit/include/rtems/linkersets.h:76:3: warning: ISO C forbids zero-size array '_Linker_set_gcov_info_begin' [-Wpedantic]
cpukit/include/rtems/linkersets.h:76:3: warning: ISO C forbids zero-size array '_Linker_set__Per_CPU_Data_begin' [-Wpedantic]
cpukit/include/rtems/linkersets.h:76:3: warning: ISO C forbids zero-size array '_Linker_set__Sysinit_begin' [-Wpedantic]
cpukit/include/rtems/linkersets.h:76:3: warning: ISO C forbids zero-size array '_Linker_set__T_begin' [-Wpedantic]
cpukit/include/rtems/linkersets.h:76:3: warning: ISO C forbids zero-size array '_Linker_set_test_content_ro_begin' [-Wpedantic]
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5499#note_143374
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/20260223/38aa5eeb/attachment.htm>
More information about the bugs
mailing list