RTEMS | lpc32xx: Multiple Warnings for empty structures (#5295)
Joel Sherrill (@joel)
gitlab at rtems.org
Mon Jul 7 15:17:27 UTC 2025
Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5295
## Summary
Every variant of the lpc32xx BSP family includes these warnings for their being a set of empty structures.
```
In file included from ../../../bsps/arm/lpc32xx/include/bsp.h:57,
from ../../../testsuites/support/include/tmacros.h:41,
from ../../../testsuites/sptests/spstdc17/init.c:34:
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:240:9: warning: struct has no members [-Wpedantic]
240 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:243:9: warning: struct has no members [-Wpedantic]
243 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:246:9: warning: struct has no members [-Wpedantic]
246 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:249:9: warning: struct has no members [-Wpedantic]
249 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:252:9: warning: struct has no members [-Wpedantic]
252 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:255:9: warning: struct has no members [-Wpedantic]
255 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:258:9: warning: struct has no members [-Wpedantic]
258 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:261:9: warning: struct has no members [-Wpedantic]
261 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:264:9: warning: struct has no members [-Wpedantic]
264 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:267:9: warning: struct has no members [-Wpedantic]
267 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:270:9: warning: struct has no members [-Wpedantic]
270 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:273:9: warning: struct has no members [-Wpedantic]
273 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:347:9: warning: struct has no members [-Wpedantic]
347 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:350:9: warning: struct has no members [-Wpedantic]
350 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:353:9: warning: struct has no members [-Wpedantic]
353 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:356:9: warning: struct has no members [-Wpedantic]
356 | typedef struct {
| ^~~~~~
../../../bsps/arm/lpc32xx/include/bsp/lpc32xx.h:359:9: warning: struct has no members [-Wpedantic]
359 | typedef struct {
```
## Steps to reproduce
Build the BSP with all tests enabled. This is from spstdc17.
### Pre-set options
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5295
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/20250707/89d61900/attachment-0001.htm>
More information about the bugs
mailing list