Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-03-25 15:56:14

"William E. Kempf" <wekempf_at_[hidden]> writes:

> Hmm... this surprised me. Mr. Maclean indicated the warnings were level 1
> _and_ 2. Builds with bjam do report errors, so the warning level can't be
> 0. MSDN indicates "Level 2 is the default warning level at the command
> line." So I assumed that it must be an RTL issue causing the warnings for
> him. However, experimenting with 'bjam -sTOOLS=vc7
> -sBUILD="<vc7><*><cxxflags>-W2' does indeed produce the warnings in
> question. So it appears that MSDN is wrong, and that level 1 is selected
> if none is supplied? I plan to bump the level up in my own set of bjam
> tool sets.

Suggestion: turn them on with #pragmas in the library's test files.

Dave Abrahams
Boost Consulting

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