Ticket #1617: gcc43-spirit-1617.patch

File gcc43-spirit-1617.patch, 1.0 KB (added by Steven Robbins <smr@…>, 14 years ago)
  • libs/spirit/classic/test/mix_and_match_trees.cpp

    old new  
    5454
    5555        typedef rule<ast_scanner> ast_rule;
    5656        typedef rule<pt_scanner> pt_rule;
    57         typedef rule<Scanner> rule;
     57        typedef rule<Scanner> rule_;
    5858
    5959        definition(my_grammar const & /* self */)
    6060        {
     
    6262            start_ = gen_pt_node_d[ pt_rule_ ];
    6363        }
    6464
    65         rule const & start() const
     65        rule_ const & start() const
    6666        {
    6767            return start_;
    6868        }
    6969
    70         rule start_;
     70        rule_ start_;
    7171        ast_rule ast_rule_;
    7272        pt_rule pt_rule_;
    7373    };
  • libs/spirit/classic/test/numerics_tests.cpp

    old new  
    1111#include <boost/spirit/include/classic_assign_actor.hpp>
    1212#include <iostream>
    1313#include <boost/detail/lightweight_test.hpp>
     14#include <climits>
    1415
    1516using namespace std;
    1617using namespace BOOST_SPIRIT_CLASSIC_NS;