On Thu, Sep 22, 2011 at 11:50:31AM +0200, Mark Kettenis wrote: > > Date: Wed, 21 Sep 2011 21:25:40 +0200 > > From: Stefan Sperling <[email protected]> > > > > On Wed, Sep 21, 2011 at 07:59:08PM +0200, Stefan Sperling wrote: > > > On Wed, Sep 21, 2011 at 06:13:31PM +0200, Mark Kettenis wrote: > > > > wide character support in that version of libstdc++ was an > > > > all-or-nothing thing, and I don't think wer should change that. > > > > > > Fine. I'll leave that alone until we have all the functions it wants. > > > > On second thought, wouldn't leaving this bit out mean that C++ > > applications won't be able to use wscanf on gcc3 architectures? > > Not really. They just won't be in the std:: namesapce. But you can > still access them in the global namespace. > > The thing I'm worried about is code that makes assumptioms based on > the _GLIBCPP_USE_WCHAR_T define, so I think it is best to keep things > as they are.
The plan is now to add wscanf and wcsftime at the same time. So this makes all the wide character functions currently guarded by _GLIBCPP_USE_WCHAR_T available. Should we make all these functions visible in the std:: namespace when we add the new functions to libc? And bump gcc3 libstdc++ as well? Do we set _GLIBCPP_USE_WCHAR_T during the libstdc++ build to do so? Can this also be done later, as a seperate step, after bumping libc?
