Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2007-09-11 02:24:20

Beman Dawes wrote:
> Vladimir Prus wrote:
>> On Wednesday 05 September 2007 15:10:19 Beman Dawes wrote:


>>> How do I apply the /EHa to all msvc builds and tests that use
>>> execution_monitor.ipp (to deal with the msvc
>>> "..\..\..\boost/test/impl/execution_monitor.ipp(214) : warning
>>> C4535: calling _set_se_translator() requires /EHa" warning?
>> What do you mean? Do you expect to find all sources that include,
>> directly
>> or indirectly, execution_monitor.ipp and apply some option? Do you
>> really
>> think it's a basic task? No build system I know provide built-in
>> mechanisms to
>> do that?
> I'll rephrase the question. How do I apply a compiler switch in my
> Jamfile to builds for one specific toolset. How do I apply the switch
> for that toolset, but only on one specific platform?

Off the top of my head, and assuming that you by "platform" refer to the
toolset, something like the following should work:

  : requirements

If you really need to do this based by platform as well (which shouldn't be
needed in this case):

  : requirements

HTH / Johan

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