Boost C++ Libraries: Ticket #8507: Fusion trunk: "fatal error: recursive template instantiation exceeded maximum depth of 128" https://svn.boost.org/trac10/ticket/8507 <p> Not sure whether it is customary to report problems on trunk, but this has been there for a while. On current trunk, as of <a class="changeset" href="https://svn.boost.org/trac10/changeset/84054" title="Fixes #8500">r84054</a>, fusion fails to build on Mac OS X 10.8.3 with XCode 4.6.2 and Clang-425.0.28 with error (excerpt): </p> <pre class="wiki">In file included from libs/log/src/init_from_settings.cpp:39: In file included from ./boost/spirit/include/qi_core.hpp:16: In file included from ./boost/spirit/home/qi/parser.hpp:15: In file included from ./boost/spirit/home/qi/domain.hpp:15: In file included from ./boost/spirit/home/support/meta_compiler.hpp:19: In file included from ./boost/proto/proto.hpp:12: In file included from ./boost/proto/core.hpp:21: In file included from ./boost/proto/fusion.hpp:18: In file included from ./boost/fusion/include/is_view.hpp:10: In file included from ./boost/fusion/support/is_view.hpp:12: ./boost/fusion/support/tag_of.hpp:78:39: fatal error: recursive template instantiation exceeded maximum depth of 128 : traits::tag_of&lt;typename remove_const&lt;T&gt;::type&gt; ^ </pre><p> Full build log is attached. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8507 Trac 1.4.3 manphiz@… Sat, 27 Apr 2013 07:35:00 GMT attachment set https://svn.boost.org/trac10/ticket/8507 https://svn.boost.org/trac10/ticket/8507 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-head-build.log.gz</span> </li> </ul> <p> Boost trunk build log using clang-425.0.28 from Xcode 4.6.2. </p> Ticket Kohei Takahashi Thu, 19 Apr 2018 15:34:17 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8507#comment:1 https://svn.boost.org/trac10/ticket/8507#comment:1 <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">worksforme</span> </li> </ul> <p> This is not a fusion specific problem, but also any library have; <a class="changeset" href="https://svn.boost.org/trac10/changeset/84054" title="Fixes #8500">r84054</a> is a patch for container library, but the error happens during building log library, and furthermore sometimes the error shows within mpl library. </p> Ticket