Use C++ exception model in D

Jacob Carlborg doob at me.com
Wed Apr 9 12:54:28 PDT 2014


On 2014-04-09 19:27, David Nadlinger wrote:

> They don't. GDC and LDC use libunwind, whereas DMD uses its own custom
> EH implementation.

That's what I want then, for all implementations to use libunwind.

> With GDC and LDC, you'd just need to add your code to handle Objective-C
> exceptions to the personality functions. libunwind exceptions have a
> "type"/"source language" field, and by default most implementations
> either ignore unknown exception types or abort on encountering them.

That's what I was hoping.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list