Boost logo

Boost-Build :

Subject: [Boost-build] Inheriting properties from Boost.Build testing requirements
From: John Maddock (john_at_[hidden])
Date: 2009-11-13 06:11:48


Folks,

If I modify libs/variant/test/Jamfile to contain:

project
    : requirements
        <toolset>msvc:<asynch-exceptions>on
    ;

It does the right thing - which is to say it turns on asynch-exceptions for
msvc and all the related warning go away.

However, the "right" thing to do would be to use something like:

project
    : requirements
        <dependency>/boost/test//minimal
    ;

But this results in *both* /EHsc and /EHa being passed to the compiler, with
the result that I see:

cl : Command line warning D9025 : overriding '/EHs' with '/EHa'

Is this a bug in the way Boost.Build is propagating dependency requirements?

This is all in SVN Trunk BTW.

Thanks, John.


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