Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-08-30 09:40:43


> 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk