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: long long constant


Eljay Love-Jensen <eljay@adobe.com> writes:

> A long long numeric literal requires the LL suffix.  The compiler
> doesn't automagically promote "too big" numeric literals into long
> longs.

Actually it does if you tell it to follow the current standard C99
with -std=c99 (the default is gnu89).

-- 
	Falk


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