[RTEMS Project] #4662: Fix GCC 12 warnings

RTEMS trac trac at rtems.org
Fri Aug 19 20:46:24 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 Ryan Long <ryan.long@…>):

 In [changeset:"5b875915152a248079855bcb98e871f70ac314cc/rtems"
 5b875915/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="5b875915152a248079855bcb98e871f70ac314cc"
 schedulerpriority.h: Fix gcc 12 warning

 Changed the size of the array to 1 to get rid of the warning.

 Updates #4662
 }}}

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


More information about the bugs mailing list