Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2792: HP aCC rejects string_parse_tree <> in string_parse_tree.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-04-30 19:51:21
#2792: HP aCC rejects string_parse_tree <> in string_parse_tree.hpp
---------------------------------------------+------------------------------
Reporter: Max Zinal <MaxZinal@â¦> | Owner: az_sw_dude
Type: Bugs | Status: new
Milestone: Boost 1.39.0 | Component: date_time
Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------------+------------------------------
Comment (by Stuart A. Malone <samalone@â¦>):
I believe I am seeing the same problem with Boost 1.49 under the Xcode 4.4
developer preview 3 using the Apple LLVM compiler 4.0 and libc++ (LLVM C++
standard library with C++11 support. The string_parse_tree class is
relying on undefined behavior when it attempts to use itself in the
definition of ptree_coll.
I had a similar problem in my own code when I switched to this
compiler/library combination, and solved it by using boost::shared_ptr to
store a pointer to the sub-object rather than storing the complete object.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2792#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC