lua-users home
lua-l archive

Re: compile lvm.c as cpp code fails at 'goto condjump'

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Paige DePol <lual@serfnet.org> wrote:
> What I am confused about is why my Xcode doesn't give me an error? Even
> when I specifically tell it to compile in C++ mode, and especially as it
> is an error condition and not simply a warning!
Well, I must have done something odd last time, or a cache didn't clear,
because I tried to compile the GitHub version of Lua in C++ mode again
and this time I do get the same error as the thread creator.
Moving the goto logic down to the OP_TEST vmcase block does fix the error.
~Paige

AltStyle によって変換されたページ (->オリジナル) /