[postgis-tickets] [PostGIS] #3830: PostgreSQL-10: initialization from incompatible pointer type

PostGIS trac at osgeo.org
Tue Sep 5 12:55:28 PDT 2017


#3830: PostgreSQL-10: initialization from incompatible pointer type
----------------------+---------------------------
  Reporter:  strk     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.4.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by robe):

 oh wait nevermind I see it's just a warning.  Yah I see that too:


 {{{
 aliasing -fwrapv -fexcess-precision=standard -g -O2 -fPIC
 -I/var/lib/jenkins/workspace/geos/rel-3.7.0devw64/include
 -I/usr/include/libxml2 -I/usr/include -DHAVE_SFCGAL    -g -O0 -I. -I./
 -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/server
 -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/internal
 -D_GNU_SOURCE   -c -o std_pg_hash.o std_pg_hash.c
 std_pg_hash.c:132:5: warning: initialization from incompatible pointer
 type [-Wincompatible-pointer-types]
      StdCacheStats
      ^
 std_pg_hash.c:132:5: note: (near initialization for
 ‘StdCacheContextMethods.stats’)
 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
 statement -Wendif-labels -Wmissing-format-attribute -Wformat-security
 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O2 -fPIC
 -I/var/lib/jenkins/workspace/geos/rel-3.7.0devw64/include
 -I/usr/include/libxml2 -I/usr/include -DHAVE_SFCGAL    -g -O0 -I. -I./
 -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/server
 -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/internal
 -D_GNU_SOURCE   -c -o analyze.o analyze.c
 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
 statement -Wendif-labels -Wmissing-format-attribute -Wformat-security
 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O2 -fPIC
 -I/var/lib/jenkins/workspace/geos/rel-3.7.0devw64/include
 -I/usr/include/libxml2 -I/usr/include -DHAVE_SFCGAL    -g -O0 -I. -I./
 -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/server
 -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/internal
 -D_GNU_SOURCE   -c -o err_param.o err_param.c
 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
 statement -Wendif-labels -Wmissing-format-attribute -Wformat-security
 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O2 -fPIC
 -I/var/lib/jenkins/workspace/geos/rel-3.7.0devw64/include
 -I/usr/include/libxml2 -I/usr/include -DHAVE_SFCGAL    -g -O0 -I. -I./
 -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/server
 -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/internal
 -D_GNU_SOURCE   -c -o export.o export.c
 }}}

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