|
Boost-Build : |
Subject: Re: [Boost-build] Suppressing auto-detected address-model from paths
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-04-07 11:36:54
On 04/06/2015 08:52 PM, Robert Ramey wrote:
> At this point, it's too hard to go back and redesign everything. But what
> you can do is something like the following.
>
> a) User has a complaint. This takes the form like "I can't build with gcc
> on Mac OS - it gives me an error which I don't understand".
>
> b) current method - respond to the user's complaint with "Try using
> toolset darwin rather than gcc". Problem solved - NOT. It's not fixed
> it's just going to come up again.
>
> c) The source of the problem is that the error message doesn't tell the
> user what to do. So he has to email in and to get a response. The fix
> for this is to tweak something somewhere so that the error message
> says something like:
>
> "GCC toolset doesn't work on MACOS - try using darwin instead"
> and have b2 abort.
Did you notice that the "duplicate virtual targets" error message was
recently completely reworded? It seems exactly what you propose above.
If you have further error messages that are confusing to you, you can
file an issue at GitHub; for example, I don't use OSX, and therefore
don't know what errors there are important.
Thanks,
-- Vladimir Prus http://vladimirprus.com
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