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? Georg