Opened 7 years ago

Last modified 7 years ago

#3950 closed defect

PostGIS trunk doesn't work against 9.5 — at Version 1

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 2.5.0
Component: postgis Version: master
Keywords: Cc:

Description (last modified by robe)

I guess we can't use the ALLOC small sizes for 9.5

This is showing on winnie's 9.5 tests

prototypes  -c -o lwgeom_transform.o lwgeom_transform.c
lwgeom_transform.c: In function 'AddToPROJ4SRSCache':
lwgeom_transform.c:545:42: error: 'ALLOCSET_SMALL_SIZES' undeclared (first use in this function)
                                          ALLOCSET_SMALL_SIZES);
                                          ^
lwgeom_transform.c:545:42: note: each undeclared identifier is reported only once for each function it appears in
lwgeom_transform.c:545:42: error: too few arguments to function 'AllocSetContextCreate'
In file included from lwgeom_transform.c:18:0:
E:/jenkins/postgresql/rel/pg9.5w64gcc48/include/server/utils/memutils.h:131:22: note: declared here
 extern MemoryContext AllocSetContextCreate(MemoryContext parent,
                      ^
Makefile:61: recipe for target 'lwgeom_transform.o' failed
make[1]: *** [lwgeom_transform.o] Error 1
make[1]: Leaving directory '/projects/postgis/branches/2.5/libpgcommon'
GNUmakefile:16: recipe for target 'all' failed
make: *** [all] Error 1

So I guess 1 of two options, we can IF DEF for 9.5 or just have 9.5 go down the yee old path like 9.4

Change History (1)

comment:1 by robe, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.