Boost C++ Libraries: Ticket #5720: no type named 'tag' in 'boost::fusion::result_of::size<const boost::fusion::single_view<boost::spirit::unused_type> >' https://svn.boost.org/trac10/ticket/5720 <p> Something between <a class="changeset" href="https://svn.boost.org/trac10/changeset/73158" title="some options-related template parameters names changed">[73158]</a> and <a class="changeset" href="https://svn.boost.org/trac10/changeset/73126" title="Added BOOST_SPIRIT_NO_PREDEFINED_TERMINALS to all examples and tests">[73126]</a> in the release branch causes the attached program to fail with g++-4.5 and clang-2.9 (showing the clang error message here). </p> <p> Trunk is fine. </p> <p> Could be an MPL issue and not a spirit issue. I think the problem already existed in trunk and simply was not merged yet. </p> <pre class="wiki">In file included from DLVresultParserDriver.cpp:3: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/include/qi.hpp:16: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi.hpp:14: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi/action.hpp:14: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi/action/action.hpp:14: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/qi/meta_compiler.hpp:14: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/spirit/home/support/meta_compiler.hpp:19: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/proto/proto.hpp:12: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/proto/core.hpp:21: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/proto/fusion.hpp:23: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/fusion/include/single_view.hpp:10: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/fusion/view/single_view.hpp:10: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/fusion/view/single_view/single_view.hpp:14: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/fusion/view/single_view/single_view_iterator.hpp: 16: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/fusion/view/single_view/detail/advance_impl.hpp:1 1: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/mpl/plus.hpp:19: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/mpl/aux_/arithmetic_op.hpp:34: In file included from /var/lib/buildbot/instdirs/boost-release/include/boost/mpl/aux_/include_preprocessed.hpp:37: /var/lib/buildbot/instdirs/boost-release/include/boost/mpl/aux_/preprocessed/gcc/plus.hpp:60:25: error: no type named 'tag' in 'boost::fusion::result_of::size&lt;const boost::fusion::single_view&lt;boost::spirit::unused_type&gt; &gt;' typedef typename T::tag type; ~~~~~~~~~~~~^~~ /var/lib/buildbot/instdirs/boost-release/include/boost/mpl/aux_/preprocessed/gcc/plus.hpp:111:20: note: in instantiation of template class 'boost::mpl::plus_tag&lt;boost::fusion::result_of::size&lt;const boost::fusion::single_view&lt;boost::spirit::unused_type&gt; &gt; &gt;' requested here typename plus_tag&lt;N1&gt;::type </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5720 Trac 1.4.3 Peter Schueller <ps@…> Tue, 19 Jul 2011 16:53:20 GMT attachment set https://svn.boost.org/trac10/ticket/5720 https://svn.boost.org/trac10/ticket/5720 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">type_bug.cpp</span> </li> </ul> Ticket Peter Schueller <schueller.p@…> Wed, 14 Sep 2011 15:22:17 GMT <link>https://svn.boost.org/trac10/ticket/5720#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5720#comment:1</guid> <description> <p> Thank you, fix was merged between <a class="changeset" href="https://svn.boost.org/trac10/changeset/74322" title="- Cosmetics in Bernoulli number array-calculations.">[74322]</a> and <a class="changeset" href="https://svn.boost.org/trac10/changeset/74331" title="Test complete for [u]int16_t[n]_t overloads">[74331]</a>. Now everything works again! </p> </description> <category>Ticket</category> </item> <item> <author>Peter Schueller <schueller.p@…></author> <pubDate>Wed, 14 Sep 2011 15:22:44 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5720#comment:2 https://svn.boost.org/trac10/ticket/5720#comment:2 <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> Ticket