[RTEMS Project] #4662: Fix GCC 12 warnings

RTEMS trac trac at rtems.org
Wed Aug 3 10:24:17 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 Chris Johns):

 Replying to [comment:9 Chris Johns]:
 > I think this warning is due to the pointer being captured in a `static
 const` variable:
 The pointer is not part of the `static const` data.

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


More information about the bugs mailing list