Subject: [Boost-bugs] [Boost C++ Libraries] #6456: trunk compilation errors converting future_errc to int
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-27 08:16:35
#6456: trunk compilation errors converting future_errc to int
----------------------------------------------+-----------------------------
Reporter: ramon.casellas@⦠| Owner: anthonyw
Type: Bugs | Status: new
Milestone: Boost 1.50.0 | Component: thread
Version: Boost Development Trunk | Severity: Problem
Keywords: boost future convert future_errc |
----------------------------------------------+-----------------------------
Dear Boot Thread maintainers,
I am unable to compile current boost trunk (1.49) thread library.
I am running gcc 4.6.2 on a precise ubuntu, 64 bit, c++11 mode.
Details:
libs/thread/src/future.cpp: In member function âvirtual std::string
boost::thread_detail::future_error_category::message(int) constâ:
libs/thread/src/future.cpp:33:27: error: could not convert
â(boost::future_errc)0â from âboost::future_errcâ to âintâ
libs/thread/src/future.cpp:36:27: error: could not convert
â(boost::future_errc)1â from âboost::future_errcâ to âintâ
libs/thread/src/future.cpp:39:27: error: could not convert
â(boost::future_errc)2â from âboost::future_errcâ to âintâ
libs/thread/src/future.cpp:41:27: error: could not convert
â(boost::future_errc)3â from âboost::future_errcâ to âintâ
"g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall
-pthread -fPIC -m64 -Wno-long-long -std=gnu++0x -DBOOST_ALL_NO_LIB=1
-DBOOST_CHRONO_DYN_LINK=1 -DBOOST_SYSTEM_DYN_LINK=1
-DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_BUILD_DLL=1
-DBOOST_THREAD_POSIX -DNDEBUG -I"." -c -o
"bin.v2/libs/thread/build/gcc-4.6/release/address-model-64/threading-
multi/future.o" "libs/thread/src/future.cpp"
...failed gcc.compile.c++ bin.v2/libs/thread/build/gcc-4.6/release
/address-model-64/threading-multi/future.o..
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6456> 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:08 UTC