Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8720 closed defect (fixed)

Compile error with signalmonitor

Reported by: otto at kolsi dot fi Owned by: jpoet
Priority: minor Milestone: 0.24
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


Following compile error happens in Fedora 13, svnversion 25549:

signalmonitor.cpp: In static member function ‘static SignalMonitor* SignalMonitor::Init(QString, int, ChannelBase*)’:
signalmonitor.cpp:136: error: cannot dynamic_cast ‘channel’ (of type ‘class ChannelBase*’) to type ‘struct V4LChannel*’ (target is not pointer or reference to complete type)
make[2]: *** [signalmonitor.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/mnt/myth/trunk/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv-make_default] Error 2
make[1]: Leaving directory `/mnt/myth/trunk/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2

Change History (3)

comment:1 Changed 10 years ago by jpoet

Owner: set to jpoet
Status: newaccepted

Is that the first error?


target is not pointer or reference to complete type

Makes me think the V4LChannel header is not happy.

comment:2 Changed 10 years ago by jpoet

Resolution: fixed
Status: acceptedclosed

(In [25553]) Use ChannelBase?, not V4LChannel as the "catch all" type. Fixes #8720

comment:3 Changed 10 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.