$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [property_tree] XML parser broken in 1.39.0
From: Boris Schaeling (boris_at_[hidden])
Date: 2009-05-14 14:40:44
On Thu, 14 May 2009 17:27:14 +0200, Daniel James
<daniel_james_at_[hidden]> wrote:
> 2009/5/14 Boris Schaeling <boris_at_[hidden]>:
>> Calling boost::property_tree::xml_parser::read_xml() to parse a XML
>> file and
>> populate a property_tree doesn't work anymore in Boost 1.39.0 (at least
>> not
>> in Visual C++ 2008). The compiler error I see is:
>>
>> boost\iterator\iterator_adaptor.hpp(230) : error C2027: use of undefined
>> type 'boost::STATIC_ASSERTION_FAILURE<x>'
>> with
>> [
>> x=false
>> ]
>
> Are you using the version from the vault? It's a bit out of date, this
> is fixed in trunk.
After pulling the version from the trunk I get many other errors as the
interface of the ptree class changed. Is there any tutorial somewhere
(even a small one would be fine just to see how to get and set values
now)? There is no documentation at all in the trunk unfortunately.
Boris