RTEMS | bsps/powerpc/.../bsp.h: Stray semi-colon after LINKER_SYMBOLS (#5277)

Joel Sherrill (@joel) gitlab at rtems.org
Sat Jun 21 14:53:16 UTC 2025



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

Assignee: Joel Sherrill

## Summary
This simple mistake in three PowerPC BSP family's _bsp.h_ file generates 15-20 warnings for each compilation of _spstdc17_. One of the warnings is:

`../../../bsps/powerpc/tqm8xx/include/bsp.h:67:29: warning: ISO C does not allow extra ';'outside of a function [-Wpedantic]`

The mistake is having something like _LINKER_SYMBOL(bsp_section_bss_start)_ and adding a ";" on the end of the line.

## Steps to reproduce
Compile with GCC 15.

### Pre-set options

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5277
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/20250621/09cfb6ab/attachment.htm>


More information about the bugs mailing list