Boost Users :
Subject: Re: [Boost-users] Compiler crash with Phoenix and PropertyTree.
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-12-15 00:16:47
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) ;
> Attached is the build log.
> Actually, this is a test program, I wrote to reproduce a C4180 warning,
> but I see a crash here (actually I see C4180 also)
> Let me know if I'm doing something wrong.
It is always tough to find the problem when the compiler crashes.
In cases like this, the first thing I do is test with a different
compiler. In many cases the errors are revealed and fixing it will
also fix the other compiler's problem. Not in all cases though.
-- 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net