Failure to catch C++ exception in Haskell on OS X
Bas van Dijk
v.dijk.bas at gmail.com
Fri Jan 4 15:50:02 UTC 2019
On Fri, 4 Jan 2019 at 14:15, Gabor Greif <ggreif at gmail.com> wrote:
> maybe some DWARF unwind tables are not correctly installed in OS X?
Hi Gabor, thanks, I will look into that.
> Do intra-C++ exception catching work in your example?
Yes, I have a C++ executable foo that links with libfoo that
correctly catches the exception:
> $(nix-build --no-link -A foo)/bin/test
Since it's working in pure C++ I suspect it has something to do with
how GHC calls either the C++ compiler or linker.
More information about the ghc-devs