Re: Throwing D exceptions through C++ call stack

2018-02-20 Thread Nicholas Wilson via Digitalmars-d
On Tuesday, 20 February 2018 at 21:31:03 UTC, Timothee Cour wrote: https://github.com/Syniurge/Calypso now allows catch C++ exceptions from D handlers (on OSX and linux at least) On Tue, Feb 20, 2018 at 1:04 PM, H. S. Teoh via Digitalmars-d wrote: I'm piecewise migrating one of my old C++ pr

Re: Throwing D exceptions through C++ call stack

2018-02-20 Thread Timothee Cour via Digitalmars-d
https://github.com/Syniurge/Calypso now allows catch C++ exceptions from D handlers (on OSX and linux at least) On Tue, Feb 20, 2018 at 1:04 PM, H. S. Teoh via Digitalmars-d wrote: > I'm piecewise migrating one of my old C++ projects to D, and one of the > major issues right now is exception han

Throwing D exceptions through C++ call stack

2018-02-20 Thread H. S. Teoh via Digitalmars-d
I'm piecewise migrating one of my old C++ projects to D, and one of the major issues right now is exception handling. What's the state of C++ exception support right now? Is it safe for a D function (called from C++ code) to throw an exception, and have the stack unwind through the C++ call stack