Ticket #8870: boost-1.54.0-spirit-unused_typedef-2.patch

File boost-1.54.0-spirit-unused_typedef-2.patch, 1.4 KB (added by Petr Machata <pmachata@…>, 9 years ago)

Another one, which gets triggered during the build.

  • boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp

    diff -urp boost_1_54_0-orig/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp boost_1_54_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp
    old new struct grammar_definition  
    307307#if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE)
    308308        typedef impl::grammar_helper_base<GrammarT> helper_base_t;
    309309        typedef grammar_helper_list<GrammarT> helper_list_t;
    310         typedef typename helper_list_t::vector_t::reverse_iterator iterator_t;
    311310
    312311        helper_list_t&  helpers =
    313312# if !defined(__GNUC__) || (__GNUC__ > 2)
  • boost/spirit/home/classic/tree/parse_tree.hpp

    diff -urp boost_1_54_0-orig/boost/spirit/home/classic/tree/parse_tree.hpp boost_1_54_0/boost/spirit/home/classic/tree/parse_tree.hpp
    old new struct pt_tree_policy :  
    7676    template<typename MatchAT, typename MatchBT>
    7777    static void concat(MatchAT& a, MatchBT const& b)
    7878    {
    79         typedef typename match_t::attr_t attr_t;
    8079        BOOST_SPIRIT_ASSERT(a && b);
    8180
    8281        std::copy(b.trees.begin(), b.trees.end(),