Warning, ABI breakage from 2.074 to 2.075

Basile B. via Digitalmars-d digitalmars-d at puremagic.com
Thu May 25 11:18:18 PDT 2017


On Thursday, 25 May 2017 at 16:16:19 UTC, Patrick Schluter wrote:
> Could someone please explain why people talk always of ABI 
> compatibilty while what is described would imo better 
> classified as API compatibilty.

Here the function mangle  is involved. Mangles/Names are part of 
the ABI in D specs: 
https://dlang.org/spec/abi.html#type_mangling, although you're 
right, generally speaking the ABI is rather what you described.

What's strange is that with a different mangle, the previous 
function that stand in the static library could still be linked 
but with different results. Usually this is not the case when the 
mangle changes. That's why this breakage is particularly 
"remarkable" i find.




More information about the Digitalmars-d mailing list