[postgis-tickets] [PostGIS] #4059: Please avoid use of variable length array

PostGIS trac at osgeo.org
Wed Mar 28 08:07:51 PDT 2018


#4059: Please avoid use of variable length array
----------------------+---------------------------
  Reporter:  vmo      |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS 2.5.0
 Component:  postgis  |    Version:  trunk
Resolution:  fixed    |   Keywords:
----------------------+---------------------------

Comment (by vmo):

 You're very welcome, tracking vla is for the moment the only useful thing
 visual does.

 As a side note: I also have to replace
 {{{
     const size_t sz=4;
 }}}

 by
 {{{
 #   define sz 4
 }}}

 if sz is used to dimension an array... because, for visual, sz is not a
 const expression...

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4059#comment:3>
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