From: David Abrahams (dave_at_[hidden])
Date: 2002-11-12 10:06:44
Vladimir Prus <ghost_at_[hidden]> writes:
> David Abrahams wrote:
>>>>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.
> It is. However, if you output the full name of target, it would immediately
> tell the Jamfile location. It the full name is src/foo/bar, then you'd
> look at Jamfile in src/foo.
> Backtrace, on the other hand, makes sense only
> for developers, but not for end users.
I'm inclined to err on the side of verbose error output until users
tell us they can't handle it. Boost.Build v1 went the other direction,
and users suffered.
-- 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