RE: C++ exceptions

  • From: Alex Guo <chessnut@xxxxxxxxxxx>
  • To: "luajit@xxxxxxxxxxxxx" <luajit@xxxxxxxxxxxxx>
  • Date: Mon, 13 Jul 2015 14:50:04 -0400

No, I did come across that.
But now I think I am missing Mike's "Recompiling as C++ wouldn't help"
(http://lua.2524044.n2.nabble.com/LuaJit-2-error-handling-td4425802.html)
following that same thread, maybe I need to also add the necessary compiler
arguments...> Date: Mon, 13 Jul 2015 11:43:24 -0700

Subject: Re: C++ exceptions
From: chighland@xxxxxxxxx
To: luajit@xxxxxxxxxxxxx

On Mon, Jul 13, 2015 at 11:27 AM, Alex Guo <chessnut@xxxxxxxxxxx> wrote:
To solve the problem, I thought the issue was that I needed to compile
LuaJIT with a C++ compiler. However, now I'm starting to realize that it
might be the case that LuaJIT is supposed to support C++ exceptions even if
built with a C compiler. Also, building LuaJIT with a C++ compiler is simply
not supported. However, I didn't find these thoughts explicitly mentioned
anywhere on the LuaJIT home page....if I missed it, kindly let me know.

I think you're looking for this:

http://luajit.org/extensions.html#exceptions

/s/ Adam

Other related posts: