This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/17850] [3.4/4.0 regression] bootstrap failure - libstdc++ uses strtold when undeclared


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]