Mailing List archive

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

[vdr] Re: Errors compiling vcd-plugin



On Monday 07 October 2002 04:34, Rene Bartsch wrote:
> Hi,
>
> when I tried to compile vcd-plugin, I got the following error-messages
> (RedHat 8.0/GCC 3.2, VDR-1.1.12, VCD-Plugin-0.0.3, MP3-Plugin works
> fine):

[...]

> g++ -O2 -Wall -Woverloaded-virtual -c -DPLUGIN_NAME_I18N='"vcd"'
> -D_GNU_SOURCE -I../../../include -I../../../../DVB/ost/include
> vcd_player.c
> vcd_player.c:314: default argument given for parameter 2 of `void
>    cVCDPlayer::Goto(int, bool = false)'
> vcd_player.h:92: after previous specification in `void
> cVCDPlayer::Goto(int,
>    bool = false)'

GCC-3.2 is more picky about certain constructs. I can't check right now wether 
there is a gcc parameter to allow above constructs, but you can always remove 
the redundant default arguments from the .c files manualy.

For the above example change:
  Line 312: void cVCDPlayer::Goto(int, bool = false)
to:
  Line 312: void cVCDPlayer::Goto(int, bool)

Repeat that for all instances in all .c files the compiler complains about.

Andreas

PS: It might be a good idea to set your locale to englisch before posting 
error messages to this list. For me 'export  LANG="en_US"' usualy does the 
trick.


--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index