[postgis-tickets] [PostGIS] #2883: sfcgal warning SET_VARSIZE(PTR, len) redefined

PostGIS trac at osgeo.org
Thu Aug 7 17:07:52 PDT 2014


#2883: sfcgal warning SET_VARSIZE(PTR, len)   redefined
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  colivier     
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.2.0
Component:  sfcgal  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------
 {{{
 gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
 statement -Wendif-labels -Wmissing-format-attribute -Wformat-security
 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g
 -I../liblwgeom -I../libpgcommon
 -I/projects/geos/rel-3.5.0devw64gcc48/include
 -I/projects/proj/rel-4.8.0w64gcc48/include -I/projects/libxml/rel-
 libxml2-2.7.8w64gcc48/include/libxml2 -I/projects/CGAL/rel-
 sfcgal-1.0.4w64gcc48/include -DHAVE_SFCGAL
 -I/projects/json-c/rel-0.12w64gcc48/include
 -I/projects/postgresql/rel/pg9.4w64gcc48/include -I/projects/rel-
 libiconv-1.13.1w64gcc48/include -fPIC -I/projects/CGAL/rel-
 sfcgal-1.0.4w64gcc48/include -DHAVE_SFCGAL -I. -I./
 -Ie:/jenkins/postgresql/rel/pg9.4w64gcc48/include/server
 -Ie:/jenkins/postgresql/rel/pg9.4w64gcc48/include/internal
 -I./src/include/port/win32 -DEXEC_BACKEND
 "-Ie:/jenkins/postgresql/rel/pg9.4w64gcc48/lib/pgxs/src/makefiles/../../src/include/port/win32"
 -Ie:/jenkins/postgresql/rel/pg9.4w64gcc48/include/server/port/win32  -c -o
 lwgeom_sfcgal.o lwgeom_sfcgal.c
 lwgeom_sfcgal.c:1:0: warning: -fPIC ignored for target (all code is
 position independent) [enabled by default]
  /**********************************************************************
  ^
 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/2883>
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