Boost logo

Boost :

From: vc (vcotirlea1_at_[hidden])
Date: 2003-10-30 09:10:29


Hi all,

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. Are
you
saying that it should be? Is this true for both libs or just regex? I mean
I'm having these
settings for some time now and everything worked just fine ... and I'm not
sure if
I should really add the /Zc:wchar_t to these libs.

Thx a lot,
Viv

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

> "John Maddock" <john_at_[hidden]> writes:
> > Currently the vc7 and vc7.1 toolsets turn on /Zc:wchar_t unconditionally
> > when building, however this is not the default option in current
versions of
> > the IDE, and of course the two options produce binary-incompatible
libraries
> > (at least as far as regex is concerned).
> >
> > How should we handle this?
>
> We use VC7.1 here, and set /Zc:wchar_t on for every build. This works fine
> with MFC and ATL.
>
> Not having it set produces weird side effects, because unsigned shorts are
> suddenly treated as wide characters in some circumstances.
>
> Anthony
> --
> Anthony Williams
> Senior Software Engineer, Beran Instruments Ltd.
> Remove NOSPAM when replying, for timely response.
>
> _______________________________________________
> Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
>


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