Support for long long type for C99 and C++11 compliant compilers

Corinna Vinschen
Thu Oct 9 12:34:00 GMT 2014

Hi Thomas,

On Sep  9 20:05, Thomas Uhle wrote:
> Hello,
> the attached patch fixes some issues with long long type support for
> compilers that have C99 or C++11 compliance. For instance, llabs(),
> lldiv() and atoll() have been missing if g++ was invoked with option
> '-std=c++11'.

Your patch is missing a ChangeLog entry.  Also, why do you replace "long
long" with _LONG_LONG_TYPE?  Isn't _LONG_LONG_TYPE always "long long"?
Also, while you're doing this in math.h, you're sticking to "long long"
for other declarations like for atoll.

What's the reasoning here?


Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the Newlib mailing list