[v3] libstdc++/5280
Andreas Tobler
toa@pop.agri.ch
Wed Jan 23 04:42:00 GMT 2002
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
More information about the Libstdc++
mailing list