http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53899
--- Comment #6 from Jonathan Wakely 2012-07-09
16:17:04 UTC ---
See Bug 53901
I think GCC is correct about that too, the tagged_ptr class template should
declare its default constructor and destructor to be noexcept in C++11 mode.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53899
--- Comment #5 from Neil Nelson 2012-07-09
16:06:11 UTC ---
Jonathan, (redi at gcc dot gnu.org )
I installed g++-4.7 and obtained a good improvement over the prior
results with the following output
boost_lockfree/libs/lockfree/test$ g++-4.7 -s
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53899
--- Comment #4 from Jonathan Wakely 2012-07-09
14:45:26 UTC ---
(In reply to comment #2)
> The lockfree code is invalid anyway because
> boost::lockfree::detail::tagged_ptr
> doesn't have a trivial default constructor, so it can't be used with
>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53899
--- Comment #3 from Neil Nelson 2012-07-09
14:34:18 UTC ---
Redi,
Thank you for your very quick and detailed responses. Looks like I have
some work to do on my end. I will copy this to the boost lockfree author.
Neil
On 07/09/2012 08:30 AM, r
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53899
--- Comment #2 from Jonathan Wakely 2012-07-09
14:30:28 UTC ---
The lockfree code is invalid anyway because boost::lockfree::detail::tagged_ptr
doesn't have a trivial default constructor, so it can't be used with
std::atomic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53899
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|