Subject: Re: [boost] Jamfile to control MSVC compiler options /Za and /Ze
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-11-10 11:13:19
Paul A. Bristow wrote:
> I have been taking my own medicine and trying to get Boost.math free of warnings
> with the /Za No MS extensions option.
> Mostly this is fine.
> Â Â : requirements
> Â Â Â <toolset>msvc:<cxxflags>/Za # disable MS Extensions in Boost.Test.
> But Â a few tests require the extensions.
> I have tried to enable them for just one module thus:
> # pow test requires type_of that MS extensions.
> run pow_test.cpp ../../test/build//boost_test_exec_monitor
> Â Â Â Â : # command line
> Â Â Â Â : # input files
> Â Â Â Â : # requirements
> Â Â Â Â Â <toolset>msvc:<cxxflags>/Ze # Requires type_of which requires MS
could you try, instead of the above requirement, to add this:
Â Â Â Â Â Â -<toolset>msvc:<cxxflags>/Za
That's literal minus sign in front of requirement, and it should cancel out
the requirement for project.
Let me know if this helps.