Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-11-07 05:16:50


> 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).

John.


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