DMD now does Dwarf style exception handling!

Jack Stouffer via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 2 16:17:57 PST 2016


On Saturday, 2 January 2016 at 21:16:38 UTC, Walter Bright wrote:
> What I've been working on for the last month or so.
>
> https://github.com/D-Programming-Language/dmd/pull/5324
>
> For Linux 64 anyway. Anyone who wants to do PRs to extend it to 
> Linux 32, OSX and FreeBSD, feel free! Unfortunately, this is of 
> no help with Win64, which uses its own unique system. DMD for 
> Win32 already can catch C++ exceptions, but Win32 is a dead 
> platform.
>
> This is an enabling technology that will confer on D the 
> ability to catch C++ exceptions, which is key to interaction 
> with native C++ libraries.
>
> Next up: actually catching C++ exceptions!
>
> Thanks to everyone who helped out with this.

Congrats!

What is involved in catching C++ exceptions? Was this the hard 
part of the whole thing?


More information about the Digitalmars-d mailing list