Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: MP3 plugin v0.8.1 fails to compile
On Tue, Oct 14 2003, at 21:11:42 +0300, Toni Lindroos wrote:
> This is probably a bit off-topic but here's the error message from compiling
> the DVB driver:
>
> --- clip --- clip --- clip ---
> make[1]: Entering directory `/maxtor/work/vdr/DVB/apps/dvbdate'
> gcc -g -O2 -MD -Wall -I. -I../../include -c dvbdate.c -o dvbdate.o
> dvbdate.c: In function `main':
> dvbdate.c:303: parse error before `int'
This compiles with gcc 3.2 but not with gcc 2.95. A variable is declared
in the middle of the function body. Don't know why the newer gcc accepts this.
Use the attached patch.
--
Björn Andersson <bjorn@iki.fi>
PGP id 5AFC144B
--- dvbdate.c.org Fri Oct 10 00:03:20 2003
+++ dvbdate.c Fri Oct 10 00:03:35 2003
@@ -294,13 +294,13 @@
time_t dvb_time;
time_t real_time;
time_t offset;
+ int ret;
do_print = 0;
do_force = 0;
do_set = 0;
do_quiet = 0;
ProgName = argv[0];
- int ret;
/*
* Process command line arguments
Home |
Main Index |
Thread Index