autoconf
[Top][All Lists]
Advanced

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

Re: long long int autoconf macro


From: Richard Dawe
Subject: Re: long long int autoconf macro
Date: Thu, 01 May 2003 18:08:12 +0100

Hello.

Philip Willoughby wrote:
[snip]
> 'long long' is not a standardised type qualifier.  For all standard type
> qualifiers ('long' 'signed' 'unsigned' 'short') it is permissible to omit
> the int keyword, but all bets are off for 'long long'.  Having said that
> GCC 2.95.x and 3.x.x, and icc 7.x.x have no problem with 'unsigned long
> long' as a type - which compiler are you using?
[snip]

It is standard - it's in C99. C99 says in section 6.2.5 "Types":

"There are five standard signed integer types, designated as signed char,
short int, int, long int, and long long int. (These and other types may be
designated in several additional ways, as described in 6.7.2.) There may also
be implementation-defined extended signed integer types.28) The standard and
extended signed integer types are collectively called signed integer types."
 
Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]