On Wed, Sep 13, 2006 at 05:51:50PM +0200, Georg Baum wrote:
> Enrico Forestieri wrote:
> 
> > I am not sure what you mean but the following
> > 
> > #include <stdio.h>
> > #include <wchar.h>
> > 
> > int main()
> > {
> >     printf("size: %d\n", sizeof(wchar_t));
> >     return 0;
> > }
> > 
> > prints "size: 2" on both MinGW and Cygwin.
> 
> Sorry, I have read so much about this issue that I mixed things up. What I
> really meant was that there is no wchar_t support in the gcc STL on MinGW
> and Cygwin.
> It looks like STLPort has this support, but I guess that it also uses a 16
> bit wchar_t on MinGW and Cygwin? Or does it provide usable generic
> char_traits, ctype etc like MS seems to do?

I have installed STLport and the above program still says "size: 2", so
I think that it "has to be" that way on windows.

As regards the usable char_traits and friends, if you can provide me
a test program I can try compiling it using STLport and report back
the results.

-- 
Enrico

Reply via email to