Boost logo

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:39:11

On 04/07/2015 06:36 PM, Vladimir Prus wrote:
> 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.

"exactly" in the sense of improving error messages; the specific situation
and message is obviously different from what you've mentioned.

Vladimir Prus

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at