Boost logo

Boost :

Subject: Re: [boost] [MSM] compiling MSM with GCC 4.4.1 and -fno-rtti
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2010-05-25 16:02:17


> Hi All
>
> I try to compile boost msm in an embedded target with gcc 4.4.1 for
> performance reasons I want to disable RTTI.
> I'm having problems because backend is using boost::any which is uses RTTI.
> Is it possible to remove this dependency ?.
> or introduce some compile switch like in shared pointers ....
> BOOST_NO_STD_TYPEINFO
>
> Thanks in advance.
> Richie

Hi all,

Interestingly, this also happens with gcc by simply including
<boost/function.hpp>.
I see there is a BOOST_NO_RTTI switch, does someone see a problem if I
use it as a way to disable the features making use of any or function?

Christophe


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