Boost C++ Libraries: Ticket #11762: boost_1_59_0/boost/multiprecision/detail/default_ops.hpp:804: possible missing return https://svn.boost.org/trac10/ticket/11762 <p> [boost_1_59_0/boost/multiprecision/detail/default_ops.hpp:804]: (error) No 'return' statement in non-void function causes undefined behavior. </p> <p> Source code is </p> <blockquote> <p> terminal&amp; operator = (R val) { value = val; } </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11762 Trac 1.4.3 David Binderman <dcb314@…> Tue, 27 Oct 2015 16:17:25 GMT version changed https://svn.boost.org/trac10/ticket/11762#comment:1 https://svn.boost.org/trac10/ticket/11762#comment:1 <ul> <li><strong>version</strong> <span class="trac-field-old">Boost 1.57.0</span> → <span class="trac-field-new">Boost 1.59.0</span> </li> </ul> Ticket viboes Thu, 29 Oct 2015 10:37:03 GMT component changed; owner set https://svn.boost.org/trac10/ticket/11762#comment:2 https://svn.boost.org/trac10/ticket/11762#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">John Maddock</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">multiprecision</span> </li> </ul> Ticket John Maddock Thu, 29 Oct 2015 19:12:31 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11762#comment:3 https://svn.boost.org/trac10/ticket/11762#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/multiprecision/commit/360fcc9306b2ac7922d1805741f0ef29c34ef241"><span class="icon">​</span>https://github.com/boostorg/multiprecision/commit/360fcc9306b2ac7922d1805741f0ef29c34ef241</a>. </p> <p> Strange that none of my usual test compilers picked this up... </p> <p> Many thanks, John. </p> Ticket