|
Boost Users : |
Subject: Re: [Boost-users] Complier errors using property_tree 5 minute tutorial
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2011-08-14 09:43:23
On 08/14/2011 12:54 PM, Bill Moo wrote:
> Hello Users,
>
> I am using boost 1.47.0's property_tree on Windows 7 x64 using the
> Intel Compiler v 12.0.1029.2010 and having followed the 5 Minute
> Tutorial to the letter I get errors at complie time.
>
This is due to a bug in VC++'s standard library. There is a workaround,
but it's conditioned on specific versions of the Microsoft compiler, so
when you use Intel's, the workaround isn't used.
There should be an #ifdef at the line the error points to. Make it
unconditional, and it should work.
Sebastian
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