Boost C++ Libraries: Ticket #6423: json_parser_read.hpp bug with libc++ https://svn.boost.org/trac10/ticket/6423 <p> 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). </p> <p> I think line 105 of boost/property_tree/detail/json_parser_read.hpp should be: c.stack.back()-&gt;push_back(std::make_pair(c.name, Ptree(Str(b, e)))); and not c.stack.back()-&gt;push_back(std::make_pair(c.name, Str(b, e))); </p> <p> The second argument to make_pair should be a Ptree not a string. Right? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6423 Trac 1.4.3 anonymous Wed, 18 Jan 2012 12:40:13 GMT attachment set https://svn.boost.org/trac10/ticket/6423 https://svn.boost.org/trac10/ticket/6423 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">source.cpp</span> </li> </ul> Ticket anonymous Wed, 18 Jan 2012 12:40:22 GMT attachment set https://svn.boost.org/trac10/ticket/6423 https://svn.boost.org/trac10/ticket/6423 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">build.sh</span> </li> </ul> Ticket anonymous Wed, 18 Jan 2012 12:41:23 GMT attachment set https://svn.boost.org/trac10/ticket/6423 https://svn.boost.org/trac10/ticket/6423 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">error.txt</span> </li> </ul> Ticket Sebastian Redl Wed, 18 Jan 2012 16:55:55 GMT status, component, milestone changed; owner set https://svn.boost.org/trac10/ticket/6423#comment:1 https://svn.boost.org/trac10/ticket/6423#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Sebastian Redl</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">property_tree</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.50.0</span> </li> </ul> Ticket anonymous Thu, 05 Apr 2012 11:27:55 GMT <link>https://svn.boost.org/trac10/ticket/6423#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6423#comment:2</guid> <description> <p> g++ 4.7 report some error at this line </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Sebastian Redl</dc:creator> <pubDate>Tue, 11 Feb 2014 14:47:31 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6423#comment:3 https://svn.boost.org/trac10/ticket/6423#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">duplicate</span> </li> </ul> <p> Duplicate of bug <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6785" title="#6785: Bugs: read_json does not compile on GCC 4.7.0 with std=c++11 (closed: fixed)">#6785</a> </p> Ticket