[postgis-users] Our problems executing postgis.sql
David Blasby
dblasby at refractions.net
Tue Jan 13 10:02:17 PST 2004
inna kobiak wrote:
> We have trayed this but did not helped.
> Also replaced all "$libdir" in the postgis.sql script with your absolute path "/usr/lib/postgresql"
> but we have the exact same errors , and we have checked makeŽs output and have seen this error:
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions -I. -DFRONTEND -DSYSCONFDIR='"/usr/etc/postgresql"' -DUSE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE -c -o postgis_debug.o postgis_debug.c
> postgis_debug.c: at function `lockcheck':
> postgis_debug.c:310: warning: end of a non void function reached
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions -I. -DFR
This is the compiler complaining for no reason.
Just add a "PG_RETURN_NULL();" to the last line in the lockcheck() function.
dave
ps. strk - please commit this change to CVS.
More information about the postgis-users
mailing list