Boost C++ Libraries: Ticket #12109: C4100 warning (unreferenced formal parameter) in json_parser https://svn.boost.org/trac10/ticket/12109 <p> I upgraded from boost 1.57.0 to 1.60.0, and now get build failures due to a C4100 warning while using VS2015 - unfortunately we're required to use the error on warning setting. </p> <p> The transcode_codepoint function inside "property_tree\detail\json_parser\wide_encoding.hpp", amongst many other functions in the same file, have unreferenced parameters such as 'Sentinel end'. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12109 Trac 1.4.3 gigaplex@… Fri, 01 Apr 2016 11:52:43 GMT <link>https://svn.boost.org/trac10/ticket/12109#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12109#comment:1</guid> <description> <p> When disabling error on warning to see if it will actually compile, I encountered another problem: </p> <p> boost::property_tree::json_parser::detail::standard_callbacks&lt;PTree&gt;::new_tree': not all control paths return a value </p> <p> The assert at the end of that function isn't sufficient. There's also an assert in one of the switch case statements in the same function, but there's no attempt made to stop release builds from falling through to the next case. </p> </description> <category>Ticket</category> </item> </channel> </rss>