[geos-devel] GEOS Headers and namespaces

Sandro Santilli strk at keybit.net
Mon Feb 25 03:15:58 PST 2013


On Mon, Feb 25, 2013 at 12:51:55PM +0200, Theuns Heydenrych wrote:
> I am building a project that depends on gdal and geos.
> The build environment is Mingw on Windows7. When compiling the code i get a
> lot of the warnigs like the one below.
> 
> How do i "update your sources according to new layout of GEOS headers and
> namespaces" ?
> 
> #warning *** DEPRECATED: You are using deprecated header io.h. Please,
> update your sources according to new layout of GEOS headers and namespaces

The new layout is that you only include the header for the specific
classes you need. Or you use the C-API header geos_c.h and stick with
that for max ABI/API future compatibility.

--strk;


More information about the geos-devel mailing list