|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-11-12 09:11:07
Vladimir Prus <ghost_at_[hidden]> writes:
> David Abrahams wrote:
>> Gentlemen,
>>
>> stuff like:
>>
>> print.wrapped-text "error: multiple base variants are not yet supported" ;
>> EXIT ;
>>
>> Ought to basically never be written. We should use:
>>
>> errors.error "multiple base variants are not yet supported" ;
>>
>> instead. Quotes are optional, of course ;-)
>
> I have some reservation about this. For example, if there's gristed element
> in sources for some main target, it's an error. If you use "errors.error" to
> report this, user will see a looong backtrace, while all it really needs is
> the name of offending targets.
I disagree. It's very useful to be able to find the Jamfile in which
the offending declaration occurs.
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
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