[geos-devel] Building GEOS with GDAL

Frank Warmerdam warmerdam at pobox.com
Tue Nov 14 10:06:33 EST 2006


strk at refractions.net wrote:
> On Tue, Nov 14, 2006 at 12:50:33PM +0000, Mir Hassan Ali wrote:
>> Hi
>>
>> I am also getting these warnings for geos_c.h file. Are these of any
>> significance?
> 
> mmm... maybe the type specifier is just placed in the wrong 
> way:
> 
> 
> 133: extern GEOSGeometry* GEOS_DLL GEOSGeomFromWKT(const char *wkt);
> 134: extern char GEOS_DLL *GEOSGeomToWKT(const GEOSGeometry* g);
> 
> Since you don't get a warning on 134 I suppose it should be:
> 
> 134: extern char * GEOS_DLL GEOSGeomToWKT(const GEOSGeometry* g);
> 
> Can you try ?

Strk,

That is correct.  The GEOS_DLL specifier has to appear after the main
return type, but before pointer modifiers.

Best regards,



More information about the geos-devel mailing list