[RTEMS Project] #4662: Fix GCC 12 warnings

RTEMS trac trac at rtems.org
Wed Aug 31 11:12:58 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:"1be6dc18d33bc026f64e8244c66792c30b88b130/rtems"
 1be6dc18/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="1be6dc18d33bc026f64e8244c66792c30b88b130"
 libtest: Fix warnings without a pragma

 It seems that recent GCC versions expect that functions with a "const type
 *"
 parameter will read from the referenced location.

 Update #4662.
 }}}

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


More information about the bugs mailing list