This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix libstdc++-v3/include/math.h:66:1 2: error: 'constexpr bool std::isnan(double)' conflicts with a previous declaration
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: John David Anglin <dave dot anglin at bell dot net>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, libstdc++ at gcc dot gnu dot org, Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Date: Thu, 28 Jan 2016 10:46:55 +0000
- Subject: Re: [PATCH] Fix libstdc++-v3/include/math.h:66:1 2: error: 'constexpr bool std::isnan(double)' conflicts with a previous declaration
- Authentication-results: sourceware.org; auth=none
- References: <83B5E03D-B776-49BE-B1C2-23E19D8E9410 at bell dot net>
On 27/01/16 19:49 -0500, John David Anglin wrote:
The attached patch fixes a stage1 build error compiling genautomata.c on hpux. We need to test for obsolete
XOPEN declarations of isinf and isnan on hpux. Further, we need to check individually for isinf and isnan on hpux11
since only isnan has an obsolete XOPEN declaration.
Tested on hppa2.0w-hp-hpux11.11.
Also tests OK on x86_64-linux (with glibc 2.22).
Okay for trunk?
Yes, OK, thanks.