[RTEMS Project] #4662: Fix GCC 12 warnings

RTEMS trac trac at rtems.org
Wed Aug 31 11:13:00 UTC 2022


#4662: Fix GCC 12 warnings
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:  6.1
Component:  tool/gcc     |     Version:  6
 Severity:  blocker      |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+---------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"dad6d32271ea919e18abe3e18496ea88e282c53c/rtems"
 dad6d322/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="dad6d32271ea919e18abe3e18496ea88e282c53c"
 Fix pedanic warnings without a storage increase

 Use RTEMS_ZERO_LENGTH_ARRAY for flexible array member.

 Update #4662.
 }}}

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


More information about the bugs mailing list