[mythtv] compile error on 7331
Daniel Kristjansson
danielk at cuymedia.net
Tue Sep 27 23:17:58 UTC 2005
On Wed, 2005-09-28 at 01:16 +0200, Gernot Pansy wrote:
> after daniels changes i get an compile error on recent svn. i have
> disabled dbox2 support on configure.(--disable-dbox2).
>
> tv_rec.cpp: In destructor `TVRec::~TVRec()':
>
> tv_rec.cpp:253: error: invalid use of undefined type `struct
> DBox2Channel'
>
> tv_rec.h:32: error: forward declaration of `struct DBox2Channel'
>
> make[2]: *** [tv_rec.o] Error 1
Sorry, I'll commit a fix in about 10 mins.
Until then, replace the channel dtor stuff with this:
#ifdef USING_DVB
if (GetDVBChannel())
GetDVBChannel()->deleteLater();
else
#endif // USING_DVB
#ifdef USING_DBOX2
if (GetDBox2Channel())
GetDBox2Channel()->deleteLater();
else
#endif // USING_DBOX2
if (channel)
delete channel;
channel = NULL;
-- Daniel
More information about the mythtv-dev
mailing list