[RTEMS Project] #2634: New warning in pc386 VESA driver

RTEMS trac trac at rtems.org
Wed Mar 9 16:22:14 UTC 2016


#2634: New warning in pc386 VESA driver
---------------------------+------------------
 Reporter:  joel.sherrill  |      Owner:
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.12
Component:  bsps           |    Version:  4.12
 Severity:  normal         |   Keywords:
---------------------------+------------------
 Pavel.. can you look into this?

 ./../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c:
 In function 'find_mode_using_EDID':
 ../../../../../../../../rtems/c/src/lib/libbsp/i386/pc386/console/fb_vesa_rm.c:502:13:
 warning: dereferencing type-punned pointer will break strict-aliasing
 rules [-Wstrict-aliasing]
              if (*(uint16_t*)&edid.STI[index] ==
 EDID_STI_DescriptorUnused)
              ^~

--
Ticket URL: <http://devel.rtems.org/ticket/2634>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list