Ticket #1617: 0001-spirit-gcc-4.3-fixes.patch

File 0001-spirit-gcc-4.3-fixes.patch, 2.0 kB (added by tim blechmann <tim@klingt.org>, 2 weeks ago)
  • a/boost/spirit/tree/impl/tree_to_xml.ipp

    old new  
    1515#include <cstdarg> 
    1616#include <locale> 
    1717#include <string> 
     18#include <cstring> 
    1819 
    1920#include <map> 
    2021#include <iostream> 
  • a/libs/spirit/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    }; 
  • a/libs/spirit/test/numerics_tests.cpp

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