Boost C++ Libraries: Ticket #10832: Boost.Variant: variadic templates are disabled on Clang https://svn.boost.org/trac10/ticket/10832 <p> Clang compiler defines <span class="underline">GNUC</span>=4 and <span class="underline">GNUC_MINOR</span>=2, which makes Boost.Variant believe it's building against an old GCC and therefore disable variadic templates. </p> <p> See this code from variant_fwd.hpp:75: </p> <pre class="wiki">#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) \ || (defined(__GNUC__) &amp;&amp; (__GNUC__ == 4) &amp;&amp; (__GNUC_MINOR__ &lt; 7)) \ || (defined(_MSC_VER) &amp;&amp; (_MSC_VER &lt; 1800)) \ || defined(BOOST_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE) \ || defined (BOOST_VARIANT_NO_TYPE_SEQUENCE_SUPPORT) #ifndef BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES # define BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES #endif #endif </pre><p> Please include a special case when <span class="underline">clang</span> is defined. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10832 Trac 1.4.3 Antony Polukhin Tue, 02 Dec 2014 16:11:40 GMT owner, status, milestone changed https://svn.boost.org/trac10/ticket/10832#comment:1 https://svn.boost.org/trac10/ticket/10832#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">ebf</span> to <span class="trac-author">Antony Polukhin</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.58.0</span> </li> </ul> <p> <a class="ext-link" href="https://github.com/boostorg/variant/commit/20c70197996221ff9090aece42f8508f856b4291"><span class="icon">​</span>Fixed</a> in develop branch. </p> Ticket Antony Polukhin Mon, 09 Mar 2015 11:56:40 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/10832#comment:2 https://svn.boost.org/trac10/ticket/10832#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket