[GRASS-dev] relbr6 - devbr6 differences

Benjamin Ducke benducke at fastmail.fm
Fri Apr 11 06:38:55 PDT 2014


And that's why I love this mailing list:
There are insights here that are simply
impossible to get elsewhere. Thanks for
this one, Glynn!

Ben

On 09/04/14 17:18, Glynn Clements wrote:
> 
> Benjamin Ducke wrote:
> 
>> GEOS is a heavy C++ beast and difficult to compile using GCC
>> on Windows (at least if you want the result to pass all
>> validation tests).
>>
>> I would prefer to stick to C dependencies only for the core
>> modules, if only to avoid DLL hell when mixing Visual C++
>> and GCC DLLs on Windows (different name mangling styles).
> 
> It's not just name mangling. There isn't an official ABI for C++ on
> Windows. Even if all components are compiled with MSVC, simply using
> different compiler switches can result in incompatibilities (e.g. the
> layout of pointer-to-member values can vary according to the /vm*
> switches used).
> 
> Different compilers use different mangling rules because their code is
> inherently incompatible. Changing the name mangling just prevents
> people from trying to do things which aren't going to work anyhow.
> 



-- 
Dr. Benjamin Ducke, M.A.
{*} Geospatial Consultant
{*} GIS Developer

  benducke at fastmail.fm


More information about the grass-dev mailing list