[geos-devel] GEOS C API Suggestions

strk at refractions.net strk at refractions.net
Mon Oct 17 11:09:58 EDT 2005


On Mon, Oct 17, 2005 at 10:56:35AM -0400, Frank Warmerdam wrote:
> On 10/17/05, strk at refractions.net <strk at refractions.net> wrote:
> > I've fixed a typedef problem I encountered with C++ compiler
> > and added the extern "C" namespace when __cplusplus is defined.
> > The latter was unneeded for g++.
> > Does it work for you now ?
> > Does it work w/out the extern "C" part as well ?
> 
> Strk,
> 
> Before to get it working I had to do the 'extern "C"' around the whole
> include, but that work around did work.

This mean __cplusplus is not defined by default with your compiler.
Do you think I can drop the construct from within geos_c.h then ?
--strk;



More information about the geos-devel mailing list