On Mon, Apr 25, 2016 at 12:02 AM, Peter Cawley <corsix@xxxxxxxxxx> wrote:
I'm somewhat concerned by the following in your output log:
```
throw.cpp(5): warning C4530: C++ exception handler used, but unwind
semantics are not enabled. Specify /EHsc
```
On Sun, Apr 24, 2016 at 9:55 PM, Nagaev Boris <bnagaev@xxxxxxxxx> wrote:
Hi,
my C++ code throws C++ exceptions, so I wrap throwing code with
try-catch and throw Lua error in the catch block. It works in Rio Lua,
but it crashes in LuaJIT under the following conditions:
* Visual Studio
* 32 bit mode
* multiple exceptions thrown, not one. It crashes after second exception.
I created a github project to demonstrate this problem:
https://github.com/starius/luajit-vs32-throw/
The log:
https://ci.appveyor.com/project/starius/luajit-vs32-throw/build/job/ci3m1bf9cge8b4o4
--
Best regards,
Boris Nagaev