Boost logo

Boost Users :

From: yinglcs2_at_[hidden]
Date: 2006-01-18 11:56:08


I am using gcc 4.0.1 on Fedora 4. I get these error
messages if I include the Boost smart pointer library
files:

/usr/include/boost/detail/shared_count.hpp: In member
function ‘virtual void*
boost::detail::sp_counted_base_impl<P,
D>::get_deleter(const std::type_info&)’:
/usr/include/boost/detail/shared_count.hpp:269: error:
cannot use typeid with -fno-rtti
/usr/include/boost/shared_ptr.hpp: In function ‘D*
boost::get_deleter(const boost::shared_ptr<U>&)’:
/usr/include/boost/shared_ptr.hpp:460: error: cannot
use typeid with -fno-rtti

--- Peter Dimov <pdimov_at_[hidden]> wrote:

> yinglcs2_at_[hidden] wrote:
> > Hi,
> >
> > Can I use Boost SmartPointer Library without
> enabling
> > RTTI in the compiler options? If yes, can you
> please
> > tell how to do that?
>
> What compiler are you using?
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
>
http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


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