Subject: [Boost-bugs] [Boost C++ Libraries] #6423: json_parser_read.hpp bug with libc++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-18 12:39:36
#6423: json_parser_read.hpp bug with libc++
--------------------------------------+-------------------------------------
Reporter: kyle.tarplee@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.48.0
Severity: Problem | Keywords: ptree libc++
--------------------------------------+-------------------------------------
When building with the attached program with clang++ (svn) and libc++ I
get the following error. I believe it's a error in boost (as opposed to
the library or the compiler).
I think line 105 of boost/property_tree/detail/json_parser_read.hpp should
be:
c.stack.back()->push_back(std::make_pair(c.name, Ptree(Str(b, e))));
and not
c.stack.back()->push_back(std::make_pair(c.name, Str(b, e)));
The second argument to make_pair should be a Ptree not a string. Right?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6423> 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:08 UTC