This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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: Support for long long type for C99 and C++11 compliant compilers


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?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Attachment: pgpQe9wN5jtyj.pgp
Description: PGP signature


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