Wide character functions?
Beman Dawes
bdawes@acm.org
Fri Feb 6 02:39:00 GMT 2009
In a posting on the main Cygwin list, Corinna Vinschen wrote:
> On Feb 5 12:16, Fr?d?ric Bron wrote:
>> > I am forwarding this email from the boost mailing list.
>> > I basically says that the next version of the boost filesystem library
>> > (a well known library for C++ programming at www.boost.org) will not
>> > compile on cygwin because of the lack of wide character support.
>> > What can be done to make gcc/g++ standard conformant on this point so
>> > that C++ programmers can continue to use cygwin?
>
> Cygwin is using the wide char functions provided by newlib. Newlib
> (http://sources.redhat.com/newlib/) is still lacking a couple of
> wide char functions so far, namely:
>
> fwprintf
> fwscanf
> swprintf
> swscanf
> vfwprintf
> vswprintf
> vwprintf
> wprintf
> wscanf
> wcstod
> wcstof
> wcstold
> wcsftime
> wcstok
>
> wcstok has been contributed but isn't checked in so far. As for all
> the other functions, contributions to newlib are always welcome on the
> newlib mailing list.
Lack of Cygwin/GCC/g++ C++ standard library support for wide strings and
streams causes me enough grief that I'd willing to round up some Boost
folks to contribute any of these missing functions that are required.
But I'd really prefer a mentor familiar with Cygwin's and Newlib's needs
and requirements to provide a bit of guidance and make sure we don't
spin our wheels too much while getting started.
Any interest?
--Beman Dawes <bdawes@acm.org>
www.boost.org
More information about the Newlib
mailing list