Request for Information: Exceptions interop

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Mon Apr 7 20:48:06 UTC 2025


On 08/04/2025 8:36 AM, Salih Dincer wrote:
> On Monday, 7 April 2025 at 08:47:15 UTC, Richard (Rikki) Andrew 
> Cattermole wrote:
>> ...
>> For each compiler dmd/ldc/gdc, for each target (win32, win64, linux, 
>> osx, ext.), are the unwinding tables compatible with the C++/ 
>> Objective-c used ones for that target?
>> ...
> 
> Interoperability between D and C++ exception handling mechanisms is 
> limited and not inherently supported. Therefore, exceptions thrown in 
> one language may not be properly caught or handled by the other.

I'm not interested in throwing or catching, just what happens when one 
is thrown, is the cleanup functions get called as exceptions bubble up?

> https://forum.dlang.org/post/mailman.71.1397054005.1648.digitalmars- 
> d at puremagic.com
> 
> Have you seen this very old thread?
> 
> SDB at 79

A long time ago likely, however I know work has happened since then so 
I'm wanting an up to date status of it.



More information about the Digitalmars-d mailing list