
On Fri, Jul 11, 2008 at 6:06 PM, Igor R
Does it compile if you define BOOST_NO_TYPEID ?
My question is why I need to enable 'rtti' in order to use boost shared_ptr ?
IIRC, get_deleter() function uses typeid(), which is unavailable in your case.
I have added '#define BOOST_NO_TYPEID ' Before I include 'shared_ptr.hpp', but i still get the following error: /usr/include/boost/detail/sp_counted_impl.hpp: In member function 'virtual void* boost::detail::sp_counted_impl_pd
::get_deleter(const std::type_info&)':
/usr/include/boost/detail/sp_counted_impl.hpp:150: error: cannot use
typeid with -fno-rtti
#define BOOST_NO_TYPEID
#include
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users