Boost logo

Boost :

Subject: Re: [boost] [function] function_base.hpp:220: error: cannot use typeid with -fno-rtti
From: Doug Gregor (doug.gregor_at_[hidden])
Date: 2009-01-08 12:21:27


On Wed, Jan 7, 2009 at 5:33 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> AMDG
>
> Emil Dotchevski wrote:
>>
>> Does boost::function not support -fno-rtti by design (linux/gcc 4.1.3)?
>>
>
> target, target_type, and contains require typeid. I suppose that in
> principle these could be disabled.

Yes, it's possible, and I'd certainly accept a patch that did so.

  - Doug


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk