DMD now does Dwarf style exception handling!

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 2 13:16:38 PST 2016


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.


More information about the Digitalmars-d mailing list