Boost C++ Libraries: Ticket #11909: Bjam loses trailing dash sign in Cxxflags command line parameter https://svn.boost.org/trac10/ticket/11909 <p> Building boost on Windows with MSVC++ 2015 toolset using this command line: </p> <p> b2 -a --toolset=msvc-14.0 --build-type=complete --with-serialization --stagedir=stage stage cxxflags=/Zc:threadSafeInit- </p> <p> as a result, cl.exe actually gets called with /Zc:threadSafeInit parameter (trailing '-' is lost), which reverses the meaning of the flag </p> <p> I tried "cxxflags=/Zc:threadSafeInit-", cxxflags="/Zc:threadSafeInit-" with the same result </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11909 Trac 1.4.3 Yuriy Martsynovskyy <captainsilver@…> Wed, 13 Jan 2016 21:47:06 GMT <link>https://svn.boost.org/trac10/ticket/11909#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11909#comment:1</guid> <description> <p> Fixed by adding a space at the end: </p> <p> cxxflags="/Zc:threadSafeInit- " </p> <p> then it does not remove the '-' sign </p> </description> <category>Ticket</category> </item> </channel> </rss>