Boost logo

Boost-Build :

From: Artem Alimarine (artem_at_[hidden])
Date: 2006-08-31 05:18:26


> And sometimes it could be just -TP -c. The question is: should we
> specify -W3 explicitly if -W3 is by default?

I would say by default you call the compiler with the minimal required
flags. So, no -W3 by default.

>
> Without -W3 user would be able to specify cflags=-W4 without getting a
> warning. And one more question: should we specify -W3 if a user
> requests <msvc_warning_level>3 explicitly?

If the user explicitly ask for something, it must be explicitly present
in the compiler command line.

>
> Should the toolsets know about default values for all supported
> options? Should they display [Implicit options: -W3 -EHc] in a debug
> log?

In my oppinion the domain of each option should contain a special value
"default" and the toolset should give an interpretation of that value.

The default interpretation of the value "default" is to pass nothing to
the compiler.

Artem


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