Boost Users :
Subject: [Boost-users] Compile error with boost_1_41
From: Steve Ong (stevenong_2006_at_[hidden])
Date: 2009-12-22 11:25:43
First of all, I don't know whether this is the right group to submit this particular issue; if not, please direct me to the right one...
I just downloaded the source from the current Boost release (i.e., boost_1_41_0). I compiled this load into a static library and a dynamic libray (on both Solaris 10 and CYGWIN). After that I I try to compile the "basic_client" and "basic_server" (Source from the boost.asio project). Previously, these compiled just fine under boost_1_40_0, but now I running into the following compile errors:
g++ -o chat_client chat_client.cpp -I/home/song/MyProjects/LibDist/boostS_1_41/include -L/home/song/MyProjects/LibDist/boostS_1_41/lib -lposix4 -lboost_thread -lboost_system -pthreads -lsocket
In file included from /home/song/MyProjects/LibDist/boostS_1_41/include/boost/thread/future.hpp:12,
/home/song/MyProjects/LibDist/boostS_1_41/include/boost/exception_ptr.hpp:43: error: looser throw specifier for `virtual boost::exception_ptr::~exception_ptr()'
/home/song/MyProjects/LibDist/boostS_1_41/include/boost/exception/detail/exception_ptr_base.hpp:27: error: overriding `virtual boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()'
make: *** [chat_client_] Error 1
...Any advice to fix this would be appreciated.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net