This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/17850] [3.4/4.0 regression] bootstrap failure - libstdc++ uses strtold when undeclared
- From: "rearnsha at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Oct 2004 08:32:17 -0000
- Subject: [Bug libstdc++/17850] [3.4/4.0 regression] bootstrap failure - libstdc++ uses strtold when undeclared
- References: <20041005190334.17850.rearnsha@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rearnsha at gcc dot gnu dot org 2004-10-07 08:32 -------
Subject: Re: [3.4/4.0 regression] bootstrap failure -
libstdc++ uses strtold when undeclared
On Thu, 2004-10-07 at 04:37, bkoz at gcc dot gnu dot org wrote:
> ------- Additional Comments From bkoz at gcc dot gnu dot org 2004-10-07 03:37 -------
>
> Richard note the remappings in c++config.h:
>
> #if defined (_GLIBCXX_HAVE__STRTOLD) && ! defined (_GLIBCXX_HAVE_STRTOLD)
> # define _GLIBCXX_HAVE_STRTOLD 1
> # define strtold _strtold
> #endif
>
> I thought _strtold was defined in the newlib binary.
But no declaration in the headers (at least, not in my copy), so we
can't use it in C++ unless there's some mechanism for making libstdc++
configury generate a declaration for us... :-(
Further, Roger says that even that isn't in his copy of Cygwin...
R.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17850