in reply to XS & exception handling

I think Zaxo hit on the problem. Your *.xs code is compiled as C code not as C++ code.

You can get XS to compile your code as C++ code. The last time I did this was quite some time ago so it required some hacking but wasn't very hard. I think that it is easy in modern versions of XS (like a "-C++" flag on the command line).

                - tye
  • Comment on Re: XS & exception handling (C vs. C++)