Boost logo

Boost :

From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2004-02-03 18:15:58


I understand that it won't work for SOME things. I think boost are
complaining TOO much about it though.
We do us wchar_t and forScope already, I was working under the assumption
(probably erroneous) that /Za would help me w/ portability issues.

At Tuesday 2004-02-03 14:28, you wrote:
>Victor A. Wagner, Jr. <vawjr_at_[hidden]> wrote:
> > I note that another test from a colleague (boost threads) won't
> > compile if /Za is turned on.
>
>I think that's because boost threads are using Windows API.
>Unfortunatelly <windows.h> (and other Platform SDK headers) cannot be
>compiled without language extensions. Besides obvious stuff, like
>__dllimport , there are other problems like anonymous structures etc.
>So, currently you simply cannot use /Za switch with some libraries :(
>However, I'd recommend using /Zc:wchar_t and /Zc:forScope switches
>instead of /Za everywhere - that will not cause troubles, if used
>consistently.
>
>
>B.
>
>
>_______________________________________________
>Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"


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