Yuval Ronen wrote:
David Abrahams wrote:
on Wed May 16 2007, Yuval Ronen
wrote: 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.
Yes, that works. Thanks a lot. Although I have to admit that I find it weird that cxxflags doesn't pass its value as-is to the compiler...
Oops, I spoke too soon. It doesn't work. I guess I got confused last time, and missed the warning, but it's still there.