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
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev