[Boost-bugs] [Boost C++ Libraries] #7689: Error when using boost/thread.hpp with gcc 4.7.2 on x86_64 (boost 1.52)

Subject: [Boost-bugs] [Boost C++ Libraries] #7689: Error when using boost/thread.hpp with gcc 4.7.2 on x86_64 (boost 1.52)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-11-13 14:40:54


#7689: Error when using boost/thread.hpp with gcc 4.7.2 on x86_64 (boost 1.52)
--------------------------------------+-------------------------------------
 Reporter: jose <jmalv04@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.52.0
 Severity: Problem | Keywords:
--------------------------------------+-------------------------------------
 g++ -Wall -fPIC -O2 -pipe -fomit-frame-pointer -march=k8
 -std=c++0x -I. -I/pro/src -I/usr/include -c test.cpp
 In file included from /usr/include/boost/thread.hpp:24:0,
                  from test.cpp:8:
 /usr/include/boost/thread/future.hpp:139:26: error: expected ‘;’ at end of
 member declaration

 /usr/include/boost/thread/future.hpp:139:32: error:
 â€˜BOOST_THREAD_NOEXCEPT_OR_THROW’ does not name a type

 /usr/include/boost/thread/future.hpp:139:19: error: looser throw specifier
 for ‘virtual const char* boost::future_error::what() const’

 /usr/lib/gcc/x86_64-redhat-
 linux/4.7.2/../../../../include/c++/4.7.2/stdexcept:70:5: error:
 overriding ‘virtual const char* std::logic_error::what() const noexcept
 (true)’

 make: *** [test.o] Error 1

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7689>
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:11 UTC