Re: Is 'long unsigned long' compliant to standard?

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

 



Hi,

"Tom St Denis" <tstdenis@xxxxxxxxxxxxxxxx> 写入消息新闻:4795F04C.6020105@xxxxxxxxxxxxxxxxxxx
> Zuxy Meng wrote:
>> Hi Gurus,
>>
>> GCC accepts it without any warning, but could anybody confirm it's guaranteed to work on any compliant compiler?
>>   
> 
> I don't know what C99 says, but why not just use the standard "unsigned 
> long long" since it's easier to read and guaranteed to be accepted by 
> any C99 compiler and most C89 compilers too.


Thanks Tom. I myself only use 'unsigned long long'. I'm just unsure whether the other form should be considered buggy.
-- 
Zuxy

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux