Odd warnings from spstdc17 from isrlock.h and scheduler.h
Joel Sherrill
joel at rtems.org
Fri Aug 4 21:44:29 UTC 2023
Hi
Noticed these building RTEMS for powerpc/psim today. SMP is disabled
In file included from ../../../cpukit/include/rtems/rtems/intr.h:73,
from ../../../cpukit/include/rtems.h:69,
from ../../../testsuites/sptests/spstdc17/init.c:32:
../../../cpukit/include/rtems/score/isrlock.h:72:9: warning: struct has no
members [-Wpedantic]
72 | typedef struct {
| ^~~~~~
In file included from ../../../cpukit/include/rtems/scheduler.h:40,
from ../../../cpukit/include/rtems/confdefs/scheduler.h:65,
from ../../../cpukit/include/rtems/confdefs/threads.h:49,
from ../../../cpukit/include/rtems/confdefs/inittask.h:56,
from ../../../cpukit/include/rtems/confdefs.h:68,
from ../../../testsuites/sptests/spstdc17/init.c:57:
../../../cpukit/include/rtems/score/scheduler.h:318:16: warning: struct has
no members [-Wpedantic]
318 | typedef struct Scheduler_Context {
| ^~~~~~~~~~~~~~~~~
Hopefully someone sees the fix quickly.
Thanks.
--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230804/889664cb/attachment-0001.htm>
More information about the devel
mailing list