[RTEMS Project] #4957: spstdc17 warnings building i386/pc686

RTEMS trac trac at rtems.org
Wed Oct 18 01:42:13 UTC 2023


#4957: spstdc17 warnings building i386/pc686
-------------------------+-----------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  assigned
 Priority:  normal       |   Milestone:  6.1
Component:  test         |     Version:  6
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+-----------------------

Comment (by z.ling111):

 Does removing the precompiler defines affect how gcc sees struts? right
 now i removed the defines to fix this issue

 typedef struct {
   SMP_lock_Control Lock;
 } ISR_lock_Control;

 for example removing  the #defines gives me this compiler error? do you
 have any suggestions?

 ../../../cpukit/include/rtems/score/isrlock.h:73:3: error: unknown type
 name 'SMP_lock_Control'
    73 |   SMP_lock_Control Lock;
       |   ^~~~~~~~~~~~~~~~
 smplock.h is defined above

--
Ticket URL: <http://devel.rtems.org/ticket/4957#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list