Boost logo

Boost-Build :

From: Reece Dunn (msclrhd_at_[hidden])
Date: 2005-09-17 12:44:45

Alexey Pakhunov wrote:
> Reece Dunn wrote:
> In my understanding the levels should be off -> default -> all.
> Additional intermediate levels may be defined but 'on' and 'default' are
> synonyms.

Now that I think about this, you are correct.

> Also the feature should not be 'propagated'. It should be 'free' because
> it does not affect the result of compilation. It only affects the
> warnings that will be displayed.

Doing this:
bjam release msvc-8.0
then this:
bjam release msvc-8.0 warnings=on
results in (with the options defined as free):

error: Duplicate name of actual target:
error: added properties: none
error: removed properties: <warnings>on

>>+flags borland.compile OPTIONS <warnings>on : -w ;
>>+flags borland.compile OPTIONS <warnings>all : -w ;
>>+flags borland.compile OPTIONS <warnings-as-errors>on : -w! ;
> Can 'OPTIONS' include both '-w' and '-w!' at the same time? We may have
> both <warnings>on and <warnings-as-errors>on simultaneously.

Yes. I have tested this with Borland C++ 5.5.

- Reece


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