Opened 10 years ago

Closed 9 years ago

#3054 closed defect (fixed)

9.0 build: passing argument 8 of ‘DefineCustomStringVariable’ from incompatible pointer type

Reported by: strk Owned by: colivier
Priority: medium Milestone: PostGIS 2.1.9
Component: postgis Version: 2.1.x
Keywords: Cc:

Description

Building 2.1 branch against PostgreSQL 9.0:

lwgeom_backend_api.c: In function ‘lwgeom_init_backend’:
lwgeom_backend_api.c:111:5: warning: passing argument 8 of ‘DefineCustomStringVariable’ from incompatible pointer type [enabled by default]
     );
     ^

Change History (5)

comment:1 by strk, 10 years ago

more detail:

In file included from lwgeom_backend_api.c:20:0:
/home/postgresql-9.0/include/server/utils/guc.h:230:13: note: expected ‘GucStringAssignHook’ but argument is of type ‘void (*)(const char *, void *)’
 extern void DefineCustomStringVariable(
             ^

comment:2 by pramsey, 10 years ago

Milestone: PostGIS 2.1.6PostGIS 2.1.7

comment:3 by robe, 10 years ago

Milestone: PostGIS 2.1.7PostGIS 2.1.8

comment:4 by pramsey, 9 years ago

Milestone: PostGIS 2.1.8PostGIS 2.1.9

comment:5 by pramsey, 9 years ago

Resolution: fixed
Status: newclosed

Anyone using this version combination and backend switching should have found back-end switching didn't work, and we haven't seen that bug report, so I assume nobody is. Nonetheless, I patched it up in r14588, so it should actually work, in case anyone tries it.

Note: See TracTickets for help on using tickets.