Boost C++ Libraries: Ticket #11225: failed to compile with msvc8, variadics used wrong https://svn.boost.org/trac10/ticket/11225 <p> Hi, </p> <p> in fusion there are now switches to generate code either for compilers that support variadics macros or don't. For that the macro BOOST_PP_VARIADICS macro used, but there is a corner case: vs2005 has an incomplete implementation of variadic macros, that will fail with empty sequences, i.e. see BOOST_PP_IS_EMPTY that handles this is in a special way. </p> <p> Therefore variadics should not be used for generation here. </p> <table class="wiki"> <tr>All code in boost/fusion that uses only BOOST_PP_VARIADICS needs to be extended with &amp;&amp; (!defined(_MSC_VER) <td> defined(_MSC_VER) &amp;&amp; _MSC_VER &gt; 1400) to avoid compiler failures. </td></tr></table> <p> Original error message comes from boost/phoenix, where compiler complains that there are not enough actual arguments for BOOST_PP_IS_EMPTY and other macros. </p> <p> Greetz, ILo. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11225 Trac 1.4.3 Kohei Takahashi <flast@…> Wed, 22 Apr 2015 13:32:10 GMT <link>https://svn.boost.org/trac10/ticket/11225#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11225#comment:1</guid> <description> <p> rels. to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/11157" title="#11157: Bugs: MSVC 8 warnings for BOOST_PP_IS_EMPTY in Boost.Phoenix because of ... (closed: fixed)">#11157</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>