This is the mail archive of the
mailing list for the GCC project.
Re: Strange C++ function pointer test
- From: Florian Weimer <fweimer at redhat dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Cc: Dominik Vogt <vogt at linux dot vnet dot ibm dot com>, Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- Date: Mon, 4 Jan 2016 10:32:39 +0100
- Subject: Re: Strange C++ function pointer test
- Authentication-results: sourceware.org; auth=none
- References: <20151231094918 dot GA12885 at linux dot vnet dot ibm dot com> <alpine dot DEB dot 2 dot 20 dot 1512311055290 dot 17945 at laptop-mg dot saclay dot inria dot fr> <CAH6eHdTASETHDhGYdC60iOw1PgmtUOhwVT_iJ4Fi4ZCYCzomyg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 20 dot 1512311226480 dot 23439 at laptop-mg dot saclay dot inria dot fr> <CAH6eHdSr1qR9qMUwcfb6W54n4v2N9q9PwXVB31eWbdzE5__+XA at mail dot gmail dot com>
On 12/31/2015 01:31 PM, Jonathan Wakely wrote:
> On 31 December 2015 at 11:37, Marc Glisse wrote:
>> That's what I called "bug" in my message (there are a few bugzilla PRs for
>> this). It would probably work on Solaris.
> Yes, the <math.h> case is still a mess in the standard and in glibc.
> The "only in namespace std in the second case" part is what I meant
> was not accurate. C++11 changed to allow <cmath> to declare it in the
> global namespace, but as you say didn't go far enough.
What changes are needed in glibc?