[postgis-tickets] [PostGIS] #3900: type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]

PostGIS trac at osgeo.org
Thu Oct 12 14:21:43 PDT 2017


#3900: type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
----------------------+---------------------------
  Reporter:  strk     |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  high     |  Milestone:  PostGIS 2.4.1
 Component:  postgis  |    Version:  2.4.x
Resolution:  fixed    |   Keywords:
----------------------+---------------------------
Changes (by strk):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"15976" 15976]:
 {{{
 #!CommitTicketReference repository="" revision="15976"
 Fix GCC warnings

 Obey const pointer in autofix logic.
 Move ring closing logic to ptarray_to_GEOSCoordSeq.
 Fix memory access.

 Patch by Darafei Praliaskouski <me at komzpa.net>

 Fixes #3900
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3900#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list