you're still referencing 't'.
Here's my patch, that I did before you replied...This compiles.
Neale.
Taylor Jacob wrote:
> Quoting Neale Swinnerton <[EMAIL PROTECTED]>:
>
>
>>i'm getting this with 2.6.10 kernel.
>>
>>
>>
>>In member function `QString DVBTuning::modulation() const':
>>dvbtypes.cpp:130: error: 'const union
>>dvb_frontend_parameters::<anonymous>' has
>> no member named 'vsb'
>>dvbtypes.cpp: In member function `bool DVBTuning::parseATSC(const QString&,
>> QString)':
>>dvbtypes.cpp:175: error: `t' undeclared (first use this function)
>>dvbtypes.cpp:175: error: (Each undeclared identifier is reported only
>>once for
>> each function it appears in.)
>>
>>
>>vsb is new in 2.6.11, I don't know what the equivalent is in 2.6.10. I
>>think the 't' undeclared error is just a typo....
>
>
> Try now.. I just made a change that should let it compile with 2.6.10..
>
> Taylor
> _______________________________________________
> mythtv-dev mailing list
> [email protected]
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
Index: libs/libmythtv/dvbtypes.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/dvbtypes.cpp,v
retrieving revision 1.1
diff -u -w -r1.1 dvbtypes.cpp
--- libs/libmythtv/dvbtypes.cpp 15 May 2005 16:39:29 -0000 1.1
+++ libs/libmythtv/dvbtypes.cpp 15 May 2005 23:42:58 -0000
@@ -127,6 +127,7 @@
QString DVBTuning::modulation() const
{
+#if (DVB_API_VERSION_MINOR == 1)
switch(params.u.vsb.modulation)
{
case QPSK:
@@ -141,16 +142,17 @@
return "qam_128";
case QAM_256:
return "qam_256";
-#if (DVB_API_VERSION_MINOR == 1)
case VSB_8:
return "8vsb";
case VSB_16:
return "16vsb";
-#endif
case QAM_AUTO:
default:
return "auto";
}
+#else
+ return "auto";
+#endif
}
bool DVBTuning::parseATSC(const QString& frequency, const QString modulation)
@@ -172,7 +174,6 @@
#else
(void)frequency;
(void)modulation;
- (void)t;
#endif
return true;
}
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev