[postgis-users] Problem compiling postgis 1.1.3

Michael Fuhr mike at fuhr.org
Thu Sep 7 09:56:01 PDT 2006


On Thu, Sep 07, 2006 at 06:34:44PM +0200, Carles Rubio wrote:
> /lwgeom_chip.c: In function `chip_draw_pixel':
> lwgeom_chip.c:714: parse error before `p'

What compiler are you using and on what platform?  What does the
compile command look like?  I wonder if the compiler doesn't like
the fact that p is declared after some executable code.  Does the
compile succeed if you move the "PIXEL p;" line (line 714) to the
beginning of the function immediately following the opening curly
brace (i.e., move line 714 to line 696)?

-- 
Michael Fuhr



More information about the postgis-users mailing list