Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] AIO-14.08 Patch for strict compiler
- To: vdr@linuxtv.org
- Subject: [vdr] AIO-14.08 Patch for strict compiler
- From: Thomas Keil <tk@commedia-group.com>
- Date: Sun, 18 Aug 2002 14:46:52 +0200
- Content-transfer-encoding: 7bit
- Content-type: text/plain; charset=us-ascii; format=flowed
- Reply-to: vdr@linuxtv.org
- Sender: vdr-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
Hi,
I made a little patch (with Gregoire's instructions) that modifies the
sources that they compile with stricter compilers like gcc3.x:
================== >8 ==== Snip =========================
diff -u vdr.aio/dvbapi.c vdr.gcc/dvbapi.c
--- vdr.aio/dvbapi.c Sun Aug 18 04:32:18 2002
+++ vdr.gcc/dvbapi.c Sun Aug 18 04:30:49 2002
@@ -1101,7 +1101,7 @@
void cPlayBuffer::PlayExternalDolby(const uchar *b, int MaxLength)
{
- std::PlayExternalDolby(b, MaxLength, skipAC3bytes);
+ ::PlayExternalDolby(b, MaxLength, skipAC3bytes);
}
void cPlayBuffer::Output(void)
@@ -2330,7 +2330,7 @@
if (b[0] == 0x00 && b[1] == 0x00 && b[2] == 0x01) {
switch (b[3]) {
case 0xBD: // dolby
- std::PlayExternalDolby(&b[0], Length-6, false);
+ ::PlayExternalDolby(&b[0], Length-6, false);
break;
default:
dsyslog(LOG_INFO, "LiveAC3 has seen broken frame");
@@ -3394,7 +3394,7 @@
siProcessor->SetStatus(status);
}
-void cDvbApi::SetModeReplay(boolean audio=true)
+void cDvbApi::SetModeReplay(boolean audio)
{
// Sets up the DVB device for replay
diff -u vdr.aio/menu.c vdr.gcc/menu.c
--- vdr.aio/menu.c Sun Aug 18 04:32:19 2002
+++ vdr.gcc/menu.c Sun Aug 18 04:30:51 2002
@@ -543,7 +543,7 @@
virtual eOSState ProcessKey(eKeys Key);
};
-cMenuEditStrItem::cMenuEditStrItem(const char *Name, char *Value, int
Length, const char *Allowed, int Width = 30)
+cMenuEditStrItem::cMenuEditStrItem(const char *Name, char *Value, int
Length, const char *Allowed, int Width)
:cMenuEditItem(Name)
{
value = Value;
================== >8 ==== Snip =========================
With those changes everything compiles fine for me :-)
Home |
Main Index |
Thread Index