Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-11-17 06:10:18

>When we upgraded from VC 2003 to VC 2005 the following line in one of our
>project requirements clauses stopped working:
><toolset>msvc:<variant>debug:<cxxflags>"/W3 /WX /Wp64 /Zc:wchar_t

If you are using a recent version of BBv2, you can add:

<warnings>on <warnings-as-errors>on

as BBv2 automatically adds /Zc:wchar_t and /Zc:forScope for you.
<warnings-as-errors>on adds /WX and <warnings>on adds /W3.

NOTE: <warnings>all (default) will add /W4 *and* /Wp64.

This will work for all versions of msvc and the warnings features will also
work (currently) with gcc and Metrowerks CodeWarrior.

- Reece


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at