
30 Aug
2005
30 Aug
'05
2:40 p.m.
I take it this only happens if you attempt to use a wide stream variant and has no effect on narrow stream i/o?
Correct, without /Zc:wchar_t, then the wide character streams don't regard unsigned short as an integer :-(
If so, I'd argue that the user is selecting a 'invalid setup'. That is, using a wide stream with native wchar_t support turned off -- which then leads to the problem. Assuming this is all true, I'm reluctant to 'hack up' the library code to work around this. Seems like the compiler is telling the user something valuable...
Fair point. Thanks, John.