Opened 9 years ago

Closed 9 years ago

#3210 closed defect (worksforme)

error: expected declaration specifiers or ‘...’ before ‘LWORD’

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.2.0
Component: build Version: master
Keywords: Cc:

Description

Build fails on ubuntu 10.10:

In file included from stringbuffer.c:39:
liblwgeom_internal.h:157: error: expected declaration specifiers or ‘...’ before ‘LWORD’
liblwgeom_internal.h:157: error: expected declaration specifiers or ‘...’ before ‘LWORD’
In file included from stringbuffer.c:39:
liblwgeom_internal.h:366: warning: type defaults to ‘int’ in declaration of ‘gridspec’
liblwgeom_internal.h:366: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
liblwgeom_internal.h:367: warning: type defaults to ‘int’ in declaration of ‘gridspec’
liblwgeom_internal.h:367: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
liblwgeom_internal.h:368: warning: type defaults to ‘int’ in declaration of ‘gridspec’
liblwgeom_internal.h:368: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
liblwgeom_internal.h:369: warning: type defaults to ‘int’ in declaration of ‘gridspec’
liblwgeom_internal.h:369: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
liblwgeom_internal.h:370: warning: type defaults to ‘int’ in declaration of ‘gridspec’
liblwgeom_internal.h:370: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
liblwgeom_internal.h:371: warning: type defaults to ‘int’ in declaration of ‘gridspec’
liblwgeom_internal.h:371: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
liblwgeom_internal.h:372: warning: type defaults to ‘int’ in declaration of ‘gridspec’
liblwgeom_internal.h:372: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
liblwgeom_internal.h:423: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[1]: *** [stringbuffer.lo] Error 1
make[1]: Leaving directory `/usr/src/postgis/postgis/liblwgeom'

Change History (1)

comment:1 by strk, 9 years ago

Resolution: worksforme
Status: newclosed

I don't have an ubuntu 10.10 to test against anymore, closing until someone can reproduce.

Note: See TracTickets for help on using tickets.