[mythtv] mythtv-0.15.1,
qt-embedded and mythfilldatabase compile error
Isaac Richards
ijr at po.cwru.edu
Mon Jun 14 22:08:07 EDT 2004
On Monday 14 June 2004 06:02 am, Chris Bainbridge wrote:
> On Monday 14 June 2004 01:45, Isaac Richards wrote:
> > On Sunday 13 June 2004 04:23 pm, Chris Bainbridge wrote:
> > > Whilst compiling with qt-embedded I get:
> >
> > <snip>
> >
> > > The easy way to fix this is to explicitly enable exceptions just for
> > > this executable. I'm pretty sure this is safe; according to
> > > http://web.mit.edu/qt_v3.2.1/www/emb-porting.html Qt/E apps require the
> > > -fno-exceptions flag but I don't see what difference it makes.
> >
> > You also need to enable rtti -- if the only thing you're using qt/e for
> > is mythtv, I'd just go into the proper mkspecs directory and get rid of
> > the -fno-exceptions and -fno-rtti cflags.
>
> rtti isn't necessary, -fexceptions will generate the type info only where
> its needed, rather than rtti which generates it everywhere. Adding
> -fexceptions to the makefile for this executable fixes the problem whatever
> the qt/e flags are.
I guess dynamic_cast<> and other C++ features that require rtti aren't being
used in various places throughout mythtv.
Alioth:~/mythtv# grep -r dynamic_cast * | wc -l
318
Oh, wait, nevermind.
Isaac
More information about the mythtv-dev
mailing list