[postgis-devel] GEOS Warnings
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Thu Mar 19 02:53:23 PDT 2009
Paul Ramsey wrote:
> Mark,
>
> Did you commit the changes you showed me at the Sprint, that removed
> all the warnings against GEOS 3+?
> Right now, PostGIS trunk/GEOS trunk, I'm getting a pretty noisy build on OS/X.
>
> lex.yy.c:4126: warning: 'yyunput' defined but not used
> lwgeom_geos.c:189: warning: assignment discards qualifiers from
> pointer target type
> lwgeom_geos.c:228: warning: passing argument 1 of 'GEOSGeom_destroy'
> discards qualifiers from pointer target type
> lwgeom_geos.c:1095: warning: assignment discards qualifiers from
> pointer target type
> lwgeom_geos.c:1295: warning: assignment discards qualifiers from
> pointer target type
> lwgeom_geos.c:1361: warning: initialization discards qualifiers from
> pointer target type
> lwgeom_geos.c:1495: warning: initialization discards qualifiers from
> pointer target type
> lwgeom_geos.c:1958: warning: initialization discards qualifiers from
> pointer target type
> lwgeom_geos.c:1964: warning: initialization discards qualifiers from
> pointer target type
> lwgeom_geos_prepared.c:346: warning: assignment discards qualifiers
> from pointer target type
> lwgeom_geos_prepared.c:379: warning: assignment discards qualifiers
> from pointer target type
>
> Paul
Yes I did, although I wasn't running 3.1 and so wouldn't have caught the
errors within the PREPARED_GEOM #ifdefs. I'll install GEOS 3.1 a bit
later and tidy up the warnings in the same way.
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
More information about the postgis-devel
mailing list