Boost C++ Libraries: Ticket #11743: json parser cannot be compiled with -DNDEBUG https://svn.boost.org/trac10/ticket/11743 <p> In include/boost/property_tree/detail/json_parser/standard_callbacks.hpp, standard_callbacks::new_tree make use of assert when error conditions are detected. </p> <p> Unfortunately, when -DNDEBUG is used during compilation, assert calls disappear, thus making the code of standard_callbacks::new_tree incorrect. </p> <p> We spot the problem thanks to the option -Werror=return-type that fired when hitting the end of standard_callbacks::new_tree seeing that there was not return statement. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11743 Trac 1.4.3 thomas.barbier@… Thu, 10 Aug 2017 14:46:17 GMT <link>https://svn.boost.org/trac10/ticket/11743#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11743#comment:1</guid> <description> <p> I am also interested in this issue. I see that it is marked as regression: by any chance do you know which version we can use that does not have this bug? </p> </description> <category>Ticket</category> </item> </channel> </rss>