Boost logo

Boost Users :

Subject: [Boost-users] [property_tree][showstopper][1.45] missing include in string_path.hpp (was: [1.45.0] Beta 1 available from SourceForge)
From: Eric Niebler (eric_at_[hidden])
Date: 2010-11-11 09:41:20


On 11/11/2010 9:23 AM, Phil Ratzloff wrote:
> I just compiled my project with the 1.45 beta and got the following error:
> boost_1_45_0_beta1/boost/property_tree/string_path.hpp(202): error C3861: 'assert': identifier not found
>
> Build info: VC2010 Release Win32
>
> It succeeds in Debug, but not in Release. I didn't encounter this with 1.44. It's a minor issue I can work around.

Sounds like a simple matter of adding #include <cassert> in the right
place. Sebastian, we're going to hold the release for this. Can you
please address it ASAP?

And a suggestion for release+1: BOOST_ASSERT is to be preferred over
assert in Boost code.

Thanks,

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

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