[Boost-bugs] [Boost C++ Libraries] #9446: atomic/detail/gcc-sparcv9.hpp: constexpr constructor with non-empty body

Subject: [Boost-bugs] [Boost C++ Libraries] #9446: atomic/detail/gcc-sparcv9.hpp: constexpr constructor with non-empty body
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-01 07:16:52


#9446: atomic/detail/gcc-sparcv9.hpp: constexpr constructor with non-empty body
---------------------+------------------------------
 Reporter: smr@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.54.0
 Severity: Problem | Keywords:
---------------------+------------------------------
 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.

 This issue was first reported as issue #723115 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.

 The sparc code for boost::atomic seems to be incorrect. Supercollider
 [1] failed to build on sparc with the following message:
 {{{
 /usr/include/boost/atomic/detail/gcc-sparcv9.hpp: In constructor
 'constexpr boost::atomics::detail::base_atomic<T, void, 1u,
 Sign>::base_atomic(const value_type&)':
 /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<T, void, 2u, Sign>::base_atomic(const
 value_type&)':
 /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<T, void, 4u, Sign>::base_atomic(const
 value_type&)':
 /usr/include/boost/atomic/detail/gcc-sparcv9.hpp:1173:5: error: constexpr
 constructor does not have empty body
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9446>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC