From boost Fri Aug 29 04:33:57 2014 From: Vladimir Prus Date: Fri, 29 Aug 2014 04:33:57 +0000 To: boost Subject: Re: [boost] Boost Build and -Wall Message-Id: X-MARC-Message: https://marc.info/?l=boost&m=140928685518818 On 08/29/2014 12:12 AM, Emil Dotchevski wrote: > I see that in Boost Build on translates to -Wall. What value do I > specify for to get the compiler-default warnings level? Emil, there's no way to do it - the assumption was that you can just not specify property for the compiler default to take effect. If parent project has explicit "on" as requirement, a child project can cancel it using "-on" as requirement. If there's another situation where it would not work, could you describe it? Certainly implementing what you ask for is not hard (see untested patch below), but it would be interesting to know your use case. - Volodya diff --git a/src/tools/builtin.jam b/src/tools/builtin.jam index d62680a..7f68ea8 100644 --- a/src/tools/builtin.jam +++ b/src/tools/builtin.jam @@ -166,6 +166,7 @@ feature.feature warnings : on # Enable default/"reasonable" warning level for the tool. all # Enable all possible warnings issued by the tool. off # Disable all warnings issued by the tool. + default # Just use compiler defaults : incidental propagated ; feature.feature warnings-as-errors : _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost