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

PostGIS trac at osgeo.org
Tue Sep 5 12:48:18 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
 Keywords:           |
---------------------+---------------------------
 Building against PostgreSQL 10:
 {{{
 gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-
 statement -Wendif-labels -Wmissing-format-attribute -Wformat-security
 -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -fPIC
 -I/usr/local/include   -I/usr/include/libxml2     -g -O0 -I. -I./
 -I/extra/postgresql-10.0/include/server
 -I/extra/postgresql-10.0/include/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’)
 }}}

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