This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]