This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] libstdc++/5280
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 23 Jan 2002 13:41:45 +0100
- Subject: Re: [v3] libstdc++/5280
- Organization: zero
- References: <200201222100.g0ML0l030137@fillmore.constant.com>
Benjamin Kosnik wrote:
> 2002-01-22 Benjamin Kosnik <bkoz@redhat.com>
> * include/bits/locale_facets.h (__convert_to_v): Add.
> * include/bits/locale_facets.tcc (num_get::do_get(double)): Use it.
And this one I get under Darwin5.2:
----
/../../gcc/libstdc++-v3/src/globals.cc -o globals.o
In file included from /Volumes/xufs/gccsrc/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/locale:46,
from /Volumes/xufs/gccsrc/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/istream.tcc:32,
from /Volumes/xufs/gccsrc/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/istream:295,
from /Volumes/xufs/gccsrc/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/fstream:44,
from ../../../../gcc/libstdc++-v3/src/globals.cc:30:
/Volumes/xufs/gccsrc/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/locale_facets.tcc:1895: parse
error before numeric constant
/Volumes/xufs/gccsrc/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/locale_facets.tcc:1901: parse
error before numeric constant
/Volumes/xufs/gccsrc/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/locale_facets.tcc:1907: template
declaration of `const char*std::__old'
/Volumes/xufs/gccsrc/objdir/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/locale_facets.tcc:1907:
confused by earlier errors, bailing out
make[3]: *** [globals.lo] Error 1
----
BTW, what did change in locale_facets.h besides some include, comments
and a public which got protected?,
Here I don't see what should be changed.
*** 885,891 ****
template<>
size_t
! collate<wchar_t>::_M_transform_helper(wchar_t*, const wchar_t*,
size_t) const;
#endif
--- 888,894 ----
template<>
size_t
! collate<wchar_t>::_M_transform_helper(wchar_t*, const wchar_t*,
size_t) const;
#endif
Thanks,
Andreas