This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: wprintf anybody?
On Apr 10 03:13, Brian Dessent wrote:
> Corinna Vinschen wrote:
>
> > Looking into newlib, I don't think it's really a lot. It's more about
> > complexity. Most of the usual string manipulation functions exist.
> >
> > What's missing is a real LC_COLLATE implementation, so that wcscoll
> > and wcsxfrm (and, FWIW, strcoll and strxfrm) are not just simple cmp
> > and cpy functions.
> >
> > What's missing are the float to string functions wcstof, wcstod,
> > wcstold(*).
> >
> > And what's missing is wchar_t IO like fputwc, fgetws and wprintf.
> >
> > I think that's it, basically. Are you going to take a stab at it?
>
> I can't guarantee anything, but I'll see if I can spend some time. The
> long double support sounds like the harder nut to crack.
Long double support is not that important, imho. That would require to
implement it in newlib from ground up. The lack of a wcstold function
is the least of the problems.
> > I seriously hope nobody ever used it. I will remove this function for
> > now. We will see if something breaks. If so, the more we need a
> > working implementation of it.
>
> If somebody stumbled onto that I can't see how they would continue using
> it, given it's complete lack of 'w'-ness.
Indeed.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat