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

/usr/include/boost/detail/shared_count.hpp: In member
function ‘virtual void*
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]

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at