bug-gnulib
[Top][All Lists]
Advanced

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

Re: xstrtoimax compilation warning on Solaris 7


From: Paul Eggert
Subject: Re: xstrtoimax compilation warning on Solaris 7
Date: Wed, 09 Nov 2005 13:25:04 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Eric Blake <address@hidden> writes:

> But C89 does not have long long - what does the standard say about
> literals that exceed long?

They're of type unsigned long if they fit, and they're an error otherwise.

GCC has long long as an extension, so it handles them as long long if
they fit, unsigned long long otherwise -- or an error if they're too
big even for unsigned long long.  So Solaris <limits.h> works as
intended, albeit with some chatter.




reply via email to

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