[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1.2-rc2 now available
- From: roberto@... (Roberto Ierusalimschy)
- Date: Sun, 25 Mar 2007 19:29:50 -0300
> "luaconf.h", line 391: Error:
> [ISO 6.8.1]: Can't have target dependent '#if' at outer level.
>
> [...]
The line in question is this:
> #if INT_MAX-20 < 32760
The ANSI specification says this about INT_MAX:
| The values given below shall be replaced by constant expressions suitable
| for use in #if preprocessing directives.
(That is, it explicitly allows target-dependent constants in #ifs.) So,
it seems that this compiler does not follow the standard.
-- Roberto