#2789: C/C++ compatibility issue with empy CPU_Per_CPU_control
 Reporter:  sebastian.huber  |       Owner:  sebastian.huber
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:  4.11
Component:  cpukit           |     Version:  4.11
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |
Changes (by Sebastian Huber <sebastian.huber@…>):

 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"75a6584a43a9ab4170376d31fe4041bbaaa7f547/rtems"]:
 #!CommitTicketReference repository="rtems"
 score: Fix C/C++ compatibility issue

 Only use CPU_Per_CPU_control if it contains at least one filed.  In GNU
 C empty structures have a size of zero.  In C++ structures have a
 non-zero size.  In case CPU_PER_CPU_CONTROL_SIZE is defined to zero,
 then this structure is not used anymore.

 Close #2789.

Ticket URL: <http://devel.rtems.org/ticket/2789#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
bugs mailing list

Reply via email to