Boost logo

Boost :

Subject: [boost] [exception][iostream] link error in boost_1_52_0
From: Jeff Flinn (Jeffrey.Flinn_at_[hidden])
Date: 2012-12-21 09:58:01


I'm getting the following link error using boost_1_52_0 with Xcode 3.2.6
gcc 4.2:

   "std::bad_alloc::what() const", referenced from:

       vtable for
boost::exception_detail::error_info_injector<std::bad_alloc>in
libboost_iostreams-mt.a(zlib.o)

       vtable for
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::bad_alloc>
>in libboost_iostreams-mt.a(zlib.o)

Boost exception is listed as a header only library, but there is
clone_current_exception_non_intrusive.cpp in
..\boost_1_52_0\libs\exception\src. Does boost.exception lib need to be
built?

thanks, jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk