[gdal-dev] 1.4.4 Preliminary Win32 Binaries

Frank Warmerdam warmerdam at pobox.com
Mon Nov 26 09:11:48 EST 2007


Mateusz Loskot wrote:
> Frank Warmerdam wrote:
>> Potentially we could deprecate STDCALL support in 1.5 and just #define
>> it to nothing by default in VC builds if it is causing a big problem,
>> though I'm not clear on why it is a problem.
> 
> Frank,
> 
> To workaround the problem with mangled names, we would also need to
> wrap all exported C functions with
> 
> extern "C" {}

Mateusz,

Note, that we already are careful to enclose all C API functions in
extern "C" {} (accomplished with the CPL_C_START/CPL_C_END macros.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list