|
Boost : |
Subject: Re: [boost] [Boost.Build] Lots of issues with Boost.Test in Trunk?
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2009-11-23 12:37:44
> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]] On
Behalf Of
> John Maddock
> Sent: Monday, November 23, 2009 4:39 PM
> To: boost_at_[hidden]
> 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_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk