|
Boost-Build : |
From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2006-03-06 15:31:15
Reece Dunn escreveu:
[SNIP]
> The idea for <warnings>all is to enable *all* warnings. It is possible to
> use msvc with this option - it just means wrapping <vector>, <map>, Boost
> headers and other additional library headers within #pragma disable blocks.
> This makes it possible to use the <warnings>all <warnings-as-errors>on
> combination.
If that is the idea, then <warnings>all must mean -Wall -Wextra
-pedantic with some other -W... that must be included by hand, for gcc.
(I don't know if that's the case.)
What I mean is, "all" here, as in -Wall, doesn't actually mean
"absolutely all possible".
-Wall for gcc is almost -Wdefault.
I suggest keeping <warnings>all as "absolutely all" and adding, as
suggested before, a <warnings>default to mean the equivalent of -Wall
for gcc.
-- Pedro Lamarão
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk