Boost logo

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
Meet me at BoostCon

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at