This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Preserve ::is{inf,nan}{f,l} prototypes even for C++11 and later
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Jonathan Wakely <jwakely at redhat dot com>, Jakub Jelinek <jakub at redhat dot com>, libc-alpha at sourceware dot org
- Date: Wed, 3 Feb 2016 16:04:45 -0200
- Subject: Re: [PATCH] Preserve ::is{inf,nan}{f,l} prototypes even for C++11 and later
- Authentication-results: sourceware.org; auth=none
- References: <20160201162152 dot GH3017 at tucnak dot redhat dot com> <20160201163400 dot GH3471 at redhat dot com> <56B23119 dot 3050605 at linaro dot org> <20160203174027 dot GK7732 at vapier dot lan>
On 03-02-2016 15:40, Mike Frysinger wrote:
> On 03 Feb 2016 14:55, Adhemerval Zanella wrote:
>> I will quote the email referenced:
>>
>>> C++11 code using isinf and isnan continues to compile after that
>>> change, because the C++11 standard library provides its own versions
>>> conforming to the C++11 requirements. However, the C++11 library
>>> doesn't provide isinff, isinfl etc. and so code using those
>>> (non-standard) functions will no longer compile if they are not
>>> declared by glibc.
>>
>> This was not clear to me, what kind of build issue are you seeing now?
>> Using isinf{f,l} by including just <cmath> along with C++11? If it is the
>> case please open a bugzilla (or update the original) and please commit
>> the fix.
>
> if the change hasn't seen a release yet, then we can just re-use the
> existing bug since it's really just a direct follow up to that ?
> -mike
>
I do not see why not.