Opened 8 years ago

Closed 8 years ago

#3757 closed defect (duplicate)

PostGIS 2.4 doesn't compile against PostgreSQL 10 beta 1

Reported by: robe Owned by: strk
Priority: blocker Milestone: PostGIS 2.4.0
Component: postgis Version: master
Keywords: Cc:

Description

make[1]: Entering directory `/projects/postgis/branches/2.4/libpgcommon'
x86_64-w64-mingw32-gcc -I../liblwgeom -g -O2 -Ie:/jenkins/postgresql/rel/pg10w64gcc48/include/server -Ie:/jenkins/postgresql/rel/pg10w64gcc48/include/server/port/win32 -I/projects/proj/rel-4.9.1w64gcc48/include  -DDLL_EXPORT -DPIC  -Wall -Wmissing-prototypes  -c -o gserialized_gist.o gserialized_gist.c
In file included from gserialized_gist.c:17:0:
../postgis_config.h:153:31: error: invalid suffix "PostgreSQL" on integer constant
 #define POSTGIS_PGSQL_VERSION 10PostgreSQL 10beta1
                               ^
lwgeom_pg.h:142:5: note: in expansion of macro 'POSTGIS_PGSQL_VERSION'
 #if POSTGIS_PGSQL_VERSION >= 85
     ^
../postgis_config.h:153:44: error: missing binary operator before token "10beta1"
 #define POSTGIS_PGSQL_VERSION 10PostgreSQL 10beta1
                                            ^
lwgeom_pg.h:142:5: note: in expansion of macro 'POSTGIS_PGSQL_VERSION'
 #if POSTGIS_PGSQL_VERSION >= 85

Change History (2)

comment:1 by robe, 8 years ago

Owner: changed from pramsey to strk

comment:2 by robe, 8 years ago

Resolution: duplicate
Status: newclosed

I'm closing this one as a dupe and reopening the original ticket #3614

Note: See TracTickets for help on using tickets.