[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 14 Jun 2011 13:55:21 -0300
> 1) The macro twoto(x) defined as (1<<(x)) in lobject.h gives numerous
> warnings when building on MSVC for 64 bits platforms.
> The message is:
> warning C4334: '<<' : result of 32-bit shift implicitly converted
> to 64 bits (was 64-bit shift intended?)
This is strange. As '1' is an int, the result from the shift should be
an int, too.
-- Roberto