[exception] ambiguities between boost::exception and std::exception

AMDG I'm getting errors like this from como (not in strict mode) "..\boost/exception/enable_error_info.hpp", line 45: error #266: "boost::exception_detail::error_info_injector<T>::exception [with T=boost::bad_weak_ptr]" is ambiguous return exception::_diagnostic_information(T::what()); ^ detected during instantiation of "const char *boost::exception_detail::error_info_injector<T>::diagnosti c_information() const [with T=boost::bad_weak_ptr]" Similar problems with sun. The attached patch resolves the problem. In Christ, Steven Watanabe

This is indeed a bug. Thanks, fixed in Revision 46802. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode On Fri, Jun 27, 2008 at 8:24 PM, Steven Watanabe <watanabesj@gmail.com> wrote:
AMDG
I'm getting errors like this from como (not in strict mode)
"..\boost/exception/enable_error_info.hpp", line 45: error #266: "boost::exception_detail::error_info_injector<T>::exception [with T=boost::bad_weak_ptr]" is ambiguous return exception::_diagnostic_information(T::what()); ^ detected during instantiation of "const char
*boost::exception_detail::error_info_injector<T>::diagnosti c_information() const [with T=boost::bad_weak_ptr]"
Similar problems with sun.
The attached patch resolves the problem.
In Christ, Steven Watanabe
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Emil Dotchevski
-
Steven Watanabe