|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-11-12 09:37:00
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.
- Volodya
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