
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of John Maddock Sent: Monday, November 23, 2009 4:39 PM To: boost@lists.boost.org Subject: Re: [boost] [Boost.Build] Lots of issues with Boost.Test in Trunk?
warning C4535: calling _set_se_translator() requires /EHa
This is a problem in the Jamfile. It needs <toolset>msvc:<asynch-exceptions>on
I believe you add dependency on boost/test/included in Jamfile and this should do the trick.
Actually that wasn't the warning I was asking about ;-)
But as it happens, it turns out the Jamfile was completely out-of-synch with what the source files are doing, fixing that, fixed most of the warnings... but now if I have:
[ run integer_test.cpp /boost/test//minimal ]
I see:
warning D4025 : overriding '/EHsc' with '/EHa'
So it does the right thing, but shouts about it :-(
would -<toolset>msvc:<cxxflags>/EHsc # Remove /EHsc from command line <toolset>msvc:<cxxflags>/EHa # add to command line do the trick? As for example: -<toolset>msvc:<cxxflags>/Za # (Re-)Enable MS extensions if these are definitely required for specific module. as suggested, worked for me. Paul --- Paul A. Bristow Prizet Farmhouse Kendal, UK LA8 8AB +44 1539 561830, mobile +44 7714330204 pbristow@hetp.u-net.com