on Wed May 16 2007, Yuval Ronen
David Abrahams wrote:
on Wed May 16 2007, Yuval Ronen
wrote: Yuval Ronen wrote:
Vladimir Prus wrote:
Yuval Ronen wrote:
Can I pass a command line argument of some sort to tell Boost.Build V2 to disable some specific MSVC warnings? bjam cxxflags=<whatever-MSVC-option-you-want>
should work. It doesn't. I tried
bjam --toolset=msvc-8.0 cxxflags=/wd4251
but bjam spits errors about invalid arguments
What are the *exact* error messages?
The exact command line was
bjam --toolset=msvc-8.0 --without-python cxxflags=/wd4251 stage
OK, try this: bjam --toolset=msvc-8.0 --without-python cxxflags=-wd4251 stage I think it's a problem in BBv2 that "/" is given special meaning in property values. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com