lua-users home
lua-l archive

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


> 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