Boost C++ Libraries: Ticket #9446: atomic/detail/gcc-sparcv9.hpp: constexpr constructor with non-empty body https://svn.boost.org/trac10/ticket/9446 <p> The named file has several examples of a constexpr constructor that has a non-empty body. I'm far from a C++ expert but a little googling suggests this is not legal C++11. </p> <p> This issue was first reported as issue <a class="missing ticket">#723115</a> in Debian's Bug Tracking System. I can't report the actual URL because trac thinks it is spam. Look at bugs [dot] debian [dot] org. </p> <p> The sparc code for boost::atomic seems to be incorrect. Supercollider <a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a> failed to build on sparc with the following message: </p> <pre class="wiki">/usr/include/boost/atomic/detail/gcc-sparcv9.hpp: In constructor 'constexpr boost::atomics::detail::base_atomic&lt;T, void, 1u, Sign&gt;::base_atomic(const value_type&amp;)': /usr/include/boost/atomic/detail/gcc-sparcv9.hpp:993:5: error: constexpr constructor does not have empty body /usr/include/boost/atomic/detail/gcc-sparcv9.hpp: In constructor 'constexpr boost::atomics::detail::base_atomic&lt;T, void, 2u, Sign&gt;::base_atomic(const value_type&amp;)': /usr/include/boost/atomic/detail/gcc-sparcv9.hpp:1083:5: error: constexpr constructor does not have empty body /usr/include/boost/atomic/detail/gcc-sparcv9.hpp: In constructor 'constexpr boost::atomics::detail::base_atomic&lt;T, void, 4u, Sign&gt;::base_atomic(const value_type&amp;)': /usr/include/boost/atomic/detail/gcc-sparcv9.hpp:1173:5: error: constexpr constructor does not have empty body </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9446 Trac 1.4.3 smr@… Sun, 01 Dec 2013 07:17:41 GMT component, severity changed; owner set https://svn.boost.org/trac10/ticket/9446#comment:1 https://svn.boost.org/trac10/ticket/9446#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">timblechmann</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">atomic</span> </li> <li><strong>severity</strong> <span class="trac-field-old">Problem</span> → <span class="trac-field-new">Showstopper</span> </li> </ul> Ticket Andrey Semashev Sat, 15 Mar 2014 12:27:50 GMT <link>https://svn.boost.org/trac10/ticket/9446#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9446#comment:2</guid> <description> <p> Fixed in develop: <a class="ext-link" href="https://github.com/boostorg/atomic/commit/b277b46c5f46215bac0cdb889bbc23f0cec54eb6"><span class="icon">​</span>https://github.com/boostorg/atomic/commit/b277b46c5f46215bac0cdb889bbc23f0cec54eb6</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Fri, 21 Mar 2014 06:37:22 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/9446#comment:3 https://svn.boost.org/trac10/ticket/9446#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> Merged to master. </p> Ticket