Boost C++ Libraries: Ticket #8346: Broken vc11 build at usage BOOST_STATIC_ASSERT_MSG after r82886 https://svn.boost.org/trac10/ticket/8346 <p> After this commit my project code build fail with errors in boost headers at BOOST_STATIC_ASSERT_MSG uses. </p> <p> What difference in then/else branches? </p> <p> # ifndef BOOST_NO_CXX11_VARIADIC_MACROS # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(<span class="underline">VA_ARGS</span>) # else # define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(<span class="underline">VA_ARGS</span>) # endif </p> <p> Look like copy paste typo. Change else to expected from old version code # define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B ) fix build problem. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8346 Trac 1.4.3 Vladimir Merzliakov <wanderer@…> Wed, 27 Mar 2013 17:49:32 GMT <link>https://svn.boost.org/trac10/ticket/8346#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8346#comment:1</guid> <description> <p> Sorry i has been wrong about build fix :( Anyway look like copy paster and possuble problem in other part of commit. I will continue research problem. </p> </description> <category>Ticket</category> </item> <item> <author>Vladimir Merzliakov <wanderer@…></author> <pubDate>Wed, 27 Mar 2013 17:57:04 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/8346 https://svn.boost.org/trac10/ticket/8346 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">static_assert.hpp.patch</span> </li> </ul> <p> Fix copy paste typo in BOOST_STATIC_ASSERT_MSG </p> Ticket Vladimir Merzliakov <wanderer@…> Fri, 29 Mar 2013 10:37:53 GMT <link>https://svn.boost.org/trac10/ticket/8346#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8346#comment:2</guid> <description> <p> Buid problems with vc11 has been at my side. But I sure that suggested patch is required for fix copy-paste error that can create problems at platforms where variadic macroes not suported </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Sun, 07 Apr 2013 18:26:07 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/8346#comment:3 https://svn.boost.org/trac10/ticket/8346#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">static_assert</span> </li> </ul> Ticket John Maddock Mon, 08 Apr 2013 08:45:10 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8346#comment:4 https://svn.boost.org/trac10/ticket/8346#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83806" title="Fix for compilers that have no variadic macros but do have ...">[83806]</a>) Fix for compilers that have no variadic macros but do have static_assert (are there any??) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8346" title="#8346: Bugs: Broken vc11 build at usage BOOST_STATIC_ASSERT_MSG after r82886 (closed: fixed)">#8346</a>. </p> Ticket