$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] Compiler crash with Phoenix and PropertyTree.
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-12-15 07:32:45
Surya Kiran Gullapalli wrote:
> 
> 
> On Tue, Dec 15, 2009 at 14:15, Sebastian Redl 
> <sebastian.redl_at_[hidden] <mailto:sebastian.redl_at_[hidden]>> 
> wrote:
> 
>     Surya Kiran Gullapalli wrote:
> 
>         Hello all,
>         I'm seeing a compiler crash (MSVC 8.0) with the following piece
>         of code. I'm using Boost.Phoenix along with Boost.PropertyTree
> 
>         namespace pt = boost::property_tree ;
>         pt::ptree tree ;
>         boost::phoenix::bind (&pt::ptree::put<string, bool>, tree,
>         string("Temp.Flag"), true) ;
> 
> 
> With Gcc-4.2.2 , compilation fails with errors.
> http://pastebin.com/m674d879c
> 
> <http://pastebin.com/m674d879c>I tried to sift thru the error log, but 
> overwhelmed with the number of errors.  
Well, this is your error:
/nfs/punlinuxvault1/fcdata5/data10/sgullapa/Packages/Boost-1.41.0/include/boost-1_41/boost/property_tree/detail/ptree_implementation.hpp:769: 
error: request for member 'put_value' in 'tr', which is of non-class type 'bool'
Alas, I do not know enough of property_tree to know. I could help you more
if you post a minimal cpp file I can try. What do you want to do BTW?
Regards,
-- Joel de Guzman http://www.boostpro.com http://spirit.sf.net http://www.facebook.com/djowel Meet me at BoostCon http://www.boostcon.com/home http://www.facebook.com/boostcon