Boost logo

Boost :

From: vc (vcotirlea1_at_[hidden])
Date: 2003-10-31 04:54:06

Thanks a lot for your answer. If I understood corectly that also means that
not only boost libs should have that flag, but every other lib or
that is using the boost header files (and not only), right?

Thx a lot,

----- Original Message -----
From: "Anthony Williams" <anthony.williamsNOSPAM_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, October 30, 2003 4:27 PM
Subject: [boost] Re: Build+Install+/Zc:wchar_t in Visual studio builds

> "vc" <vcotirlea1_at_[hidden]> writes:
> > I'm using VC++ 7.1 on Win2k and I have build the regex and thread libs
> > using the IDE which means that /Zc:wchar_t is not by default enabled.
> > you
> > saying that it should be? Is this true for both libs or just regex? I
> > I'm having these
> > settings for some time now and everything worked just fine ... and I'm
> > sure if
> > I should really add the /Zc:wchar_t to these libs.
> My experience of using VC7.1 is that having wchar_t as a typedef for
> short (which is the default) causes problems with overloading. e.g.
> void doStuff(char);
> void doStuff(wchar_t);
> void doStuff(int);
> unsigned short x;
> doStuff(x); // picks wchar_t overload if /Zc:wchar_t is not enabled
> // int overload if it is.
> So therefore you really want /Zc:wchar_t enabled for all projects.
> Anthony
> --
> Anthony Williams
> Senior Software Engineer, Beran Instruments Ltd.
> Remove NOSPAM when replying, for timely response.
> _______________________________________________
> Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at