Is 'long unsigned long' compliant to standard?

Tom St Denis tstdenis@ellipticsemi.com
Wed Jan 23 12:25:00 GMT 2008


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.

Tom



More information about the Gcc-help mailing list