[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Mysterious crash in patchlistaux() / getjump()
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 22 Jul 2011 15:25:39 -0300
> I'm compiling in C++ mode. The definition of INT_MAX that was being
> seen was the C++ one in <climits>:
>
> const int INT_MAX = 0x7ffffff;
>
> But then, luaconf was doing this:
>
> #if INT_MAX-20 < 32760
> #define LUAI_BITSINT 16
>
> This of course was failing, because INT_MAX was not a macro.
What compiler/options were you using that did not warn you about
an undefined macro being evaluated?
-- Roberto