[postgis-tickets] [PostGIS] #2790: SET_VARSIZE redefined

PostGIS trac at osgeo.org
Fri Jun 27 14:50:36 PDT 2014


#2790: SET_VARSIZE  redefined
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  colivier     
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.2.0
Component:  sfcgal  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------
 I'm seeing this warning in PostgreSQL 9.4 when building sfcgal not sure if
 its serious or not.  Doesn't seem to affect anything.

 Might be in other versions but not currently building other versions yet
 with sfcgal support.

 {{{
 In file included from ../libpgcommon/lwgeom_pg.h:23:0,
                  from lwgeom_sfcgal.c:19:
 ../libpgcommon/pgsql_compat.h:16:0: warning: "SET_VARSIZE" redefined
 [enabled by default]
  #define SET_VARSIZE(var, size)   VARATT_SIZEP(var) = size
  ^
 In file included from lwgeom_sfcgal.c:15:0:
 e:/jenkins/postgresql/rel/pg9.4w64gcc48/include/server/postgres.h:299:0:
 note: this is the location of the previous definition
  #define SET_VARSIZE(PTR, len)    SET_VARSIZE_4B(PTR, len)
  ^
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2790>
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