Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-11-07 08:35:02


John Maddock wrote:
>> Link Error : Undefined : "boost::throw_exception(const
>> std::exception&)" Referenced from
>> "boost::detail::shared_count::!<std::basic_string<char,
>> std::char_traits<char>,
>> std::allocator<char>>>(std::basic_string<char,
>> std::char_traits<char>, std::allocator<char>>*)" in main.cpp
>>
>> Link failed.
>>
>> Any insight into this problem, or the configuration system and how I
>> might adapt it to this compiler, are greatly appreciated.
>
> If the compiler has no exception handling support, then
> boost::throw_exception is *deliberately* left undefined. It's up to
> you to provide a suitable implementation that does whatever you want
> it too when an exceptional condition occurs (abort probably).

Indeed, see

http://boost.org/libs/utility/throw_exception.html


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