Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: VDR developer version 1.3.14



André Weidemann wrote:
> 
> Klaus Schmidinger wrote:
> 
> > VDR developer version 1.3.14 is now available at
> > ...
> I tried to compile the new version 1.3.14(vanilla) under Debian Woody
> with gcc 2.95.4 with "make REMOTE=LIRC" and I get the following error:
> 
> ...
> g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD -DREMOTE_LIRC
> -D_GNU_SOURCE -DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\"
> -I../DVB/include vdr.c
> vdr.c: In function `int main(int, char **)':
> vdr.c:889: jump to label `Exit'
> vdr.c:353:   from here
> vdr.c:504:   crosses initialization of `bool TimerInVpsMargin'
> vdr.c:503:   crosses initialization of `bool UserShutdown'
> vdr.c:502:   crosses initialization of `bool ForceShutdown'
> vdr.c:501:   crosses initialization of `int MaxLatencyTime'
> vdr.c:500:   crosses initialization of `time_t LastActivity'
> vdr.c:499:   crosses initialization of `time_t LastChannelChanged'
> vdr.c:498:   crosses initialization of `int PreviousChannelIndex'
> vdr.c:497:   crosses initialization of `int PreviousChannel[2]'
> vdr.c:496:   crosses initialization of `int LastTimerChannel'
> vdr.c:495:   crosses initialization of `int LastChannel'
> vdr.c:494:   crosses initialization of `class cOsdObject * Temp'
> vdr.c:493:   crosses initialization of `class cOsdObject * Menu'
> make: *** [vdr.o] Error 1
> 
> btw: All other versions incl vdr-1.3.13 compile just fine...

Just move these lines further up, right below the line

int ExitCode = 0;

then it should work with "ancient" <g> compilers, too.

Klaus




Home | Main Index | Thread Index