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).
- tyeIn reply to Re: XS & exception handling (C vs. C++)
by tye
in thread XS & exception handling
by gjb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |