[PATCH] Fix libstdc++-v3/include/math.h:66:1 2: error: 'constexpr bool std::isnan(double)' conflicts with a previous declaration

John David Anglin dave.anglin@bell.net
Thu Jan 28 00:49:00 GMT 2016


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.

Okay for trunk?

Dave
--
John David Anglin	dave.anglin@bell.net


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libstdc++-isnan.d.txt
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160128/8403cccf/attachment.txt>


More information about the Libstdc++ mailing list