[cfe-commits] r57132 - in /cfe/trunk: include/clang/Basic/TargetInfo.h lib/Basic/Targets.cpp lib/Lex/Preprocessor.cpp

Chris Lattner sabre at nondot.org
Sun Oct 5 15:54:45 PDT 2008


On Oct 5, 2008, at 3:44 PM, Eli Friedman wrote:

> On Sun, Oct 5, 2008 at 1:06 PM, Chris Lattner <sabre at nondot.org>  
> wrote:
>> it changes sizeof(long) to 16-bits (to match
>> the size of pointer).
>
> Doesn't this violate the C standard?  AFAIK, long is required to be at
> least 32 bits.

I'm pretty sure it just has to be >= sizeof(int) and <= sizeof(long  
long).

-Chris



More information about the cfe-commits mailing list