Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: ANNOUNCE: console plugin vdr-console-0.1.0
> -----Original Message-----
> From: vdr-bounce@linuxtv.org [mailto:vdr-bounce@linuxtv.org]
> On Behalf Of Stefan Reinauer
> Sent: Tuesday, November 19, 2002 4:26 PM
> To: vdr@linuxtv.org
> Subject: [vdr] Re: ANNOUNCE: console plugin vdr-console-0.1.0
>
>
> * Jan Rieger <jan@ricomp.de> [021119 16:21]:
> > > * with gcc 3.2 i get the following error:
> > > g++ -fPIC -Wall -Woverloaded-virtual -c
> > > -DPLUGIN_NAME_I18N='"console"'
> > > -D_GNU_SOURCE -DREMOTE_LIRC -I/usr/include/vdr
> > > -I../../../../DVB/include console.c
> > > In file included from console.c:20:
> > > engine.h:278: friend declaration requires class-key,
> > > i.e. `friend struct cConsoles'
> > > make: *** [console.o] Error 1
> > >
> > > When I change the declaration from "friend cConsoles" to
> > > "friend class cConsoles", everything works nicely.
> >
> > Yes, Jürgen Zimmermann has already sent me a patch for
> this. I repost
> > it here for all others who has the same problem:
> >
> > --- console-0.1.0/engine.h 2002-11-19 14:29:20.000000000 +0100
> > +++ console-0.1.0/engine.h.orig 2002-11-19
> 14:28:56.000000000 +0100
> > @@ -275,7 +275,7 @@
> > public IWaitable
> > {
> >
> > - friend cConsoles;
> > + friend struct cConsoles;
>
> should this not say the following?
> + friend class cConsoles;
> cConsoles is declared as class cConsoles; above in the same file..
>
I think you are right. I haven't checked this.
Thanks
Jan
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.
Home |
Main Index |
Thread Index