This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Is 'long unsigned long' compliant to standard?
- From: Tom St Denis <tstdenis at ellipticsemi dot com>
- To: Zuxy Meng <zuxy dot meng at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 22 Jan 2008 08:31:56 -0500
- Subject: Re: Is 'long unsigned long' compliant to standard?
- References: <fn4qrk$ge6$1@ger.gmane.org>
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