
21 May
2007
21 May
'07
9:22 p.m.
Christopher Woods wrote:
Christopher Lux wrote:
bjam cxxflags=/D_SECURE_SCL=0 --toolset=msvc-8.0 --with-program_options variant=release
I think you have to use "-D" not "/D". It appears that "/" messes with bjam. See the "[build] disabling specific warnings thread".
HTH,
-Chris
Another note - I don't know if program_options has any other library dependencies but if it does then you'll have to rebuild those libraries as well. I think you might want a complete build of boost with the define. In order to have both the default build and the "unsafe" (used loosely) build then you'd want to specify a new ABI flag - though I'm not sure how you do that exactly. -Chris