Ticket #1955: property_tree.patch

File property_tree.patch, 1.7 KB (added by Maik Beckmann <Beckmann.Maik@…>, 14 years ago)
  • boost/boost/property_tree/detail/ptree_utils.hpp

     
    1313#include <string>
    1414#include <algorithm>
    1515#include <locale>
     16#include <limits>
    1617
    1718namespace boost { namespace property_tree { namespace detail
    1819{
  • boost/boost/property_tree/detail/xml_parser_read_rapidxml.hpp

     
    9393            using namespace rapidxml;
    9494            xml_document<Ch> doc;
    9595            if (flags & no_comments)
    96                 doc.parse<parse_normalize_whitespace>(&v.front());
     96                doc.template parse<parse_normalize_whitespace>(&v.front());
    9797            else
    98                 doc.parse<parse_normalize_whitespace | parse_comment_nodes>(&v.front());
     98                doc.template parse<parse_normalize_whitespace | parse_comment_nodes>(&v.front());
    9999
    100100            // Create ptree from nodes
    101101            Ptree local;
  • boost/boost/property_tree/detail/pugxml.hpp

     
    3939#include <iostream>
    4040#include <ostream>
    4141#include <string>
     42#include <cstring>
    4243#if defined(PUGOPT_MEMFIL) | defined(PUGOPT_NONSEG)
    4344#       include <assert.h>
    4445#endif