Opened 11 years ago

Closed 11 years ago

#5720 closed Bugs (fixed)

no type named 'tag' in 'boost::fusion::result_of::size<const boost::fusion::single_view<boost::spirit::unused_type> >'

Reported by: Peter Schueller <ps@…> Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost Release Branch Severity: Regression
Keywords: Cc: ps@…

Description

Something between [73158] and [73126] in the release branch causes the attached program to fail with g++-4.5 and clang-2.9 (showing the clang error message here).

Trunk is fine.

Could be an MPL issue and not a spirit issue. I think the problem already existed in trunk and simply was not merged yet.

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<const boost::fusion::single_view<boost::spirit::unused_type> >'
    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<boost::fusion::result_of::size<const boost::fusion::single_view<boost::spirit::unused_type> > >' requested here
          typename plus_tag<N1>::type

Attachments (1)

type_bug.cpp (1.9 KB ) - added by Peter Schueller <ps@…> 11 years ago.

Download all attachments as: .zip

Change History (3)

by Peter Schueller <ps@…>, 11 years ago

Attachment: type_bug.cpp added

comment:1 by Peter Schueller <schueller.p@…>, 11 years ago

Thank you, fix was merged between [74322] and [74331]. Now everything works again!

comment:2 by Peter Schueller <schueller.p@…>, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.