Boost logo

Boost Users :

From: Serge Skorokhodov (serge.skorokhodov_at_[hidden])
Date: 2005-07-17 17:20:24


Hi,

<skip>

Jeff Garland wrote:

> This is VC7 I presume? I'm afraid that the new i/o code is
> incompatible with VC7, for a variety of reasons, and I have no
> intent to try and support it. Anyway, I may be able to fix the
> other parsing bug in time for 1.33, but that won't help you
> with wide chars...

<skip>

I've found why it didn't work. Visual C++ has a compiler setting
that force the compiler to treat wchar_t as a built-in compiler
type instead of a typedef of short. Everything compiles and works
perfectly with this setting (/Zc:wchar_t). Well, except of being
the right thing it may be not very good for some Win32 API
functions that seem to prefer to work with wchars as shorts:(

Another question though:)

ptime::hours() etc ruturn an extreamly lengthy typedef instead of
long. Is it possible to "export" this typedef somehow in the
library? Just to save a little bit typing? :)))

-- 
Serge

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net