Mailing List archive

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

[vdr] Re: Compile-errors with control-plugin ...



----- Original Message ----- 
From: "Rene Bartsch" <ml@bartschnet.de>
To: <vdr@linuxtv.org>
Sent: Sunday, October 12, 2003 2:51 PM
Subject: [vdr] Re: Compile-errors with control-plugin ...


> Am Sonntag, 12. Oktober 2003 10:14 schrieben Sie:
> > On Sun, Oct 12 2003, at 06:18:58 +0200, Rene Bartsch wrote:
> > > Hi,
> > >
> > > I'm trying to compile the control-plugin 0.0.1 against VDR-1.2.2 and
> > > DVB-driver 1.0.1, but get the following errors.
> > >
> > > Can anyone give me hint what's going wrong?
> >
> > These definitions in global.h are not according to the C specs:
> >
> > #define ESYSLOG( x... ) esyslog( "[control] "##x );
> > #define ISYSLOG( x... ) isyslog( "[control] "##x );
> > #define DSYSLOG( x... ) dsyslog( "[control] "##x );
> > #define TSYSLOG( x... ) dsyslog( "[control] "##x );
> >
> > If I recall correctly the CPP pasting operator ## must produce a
> > token such as a variable. Older GCCs accepted the above, but it is
> > now depricated.  What C compiler and version are you using?
> >
> > Try removing the '##' from the macros (haven't tried
> > it myself), so that you get the following:
> >
> > #define ESYSLOG( x... ) esyslog( "[control] "x );
> > #define ISYSLOG( x... ) isyslog( "[control] "x );
> > #define DSYSLOG( x... ) dsyslog( "[control] "x );
> > #define TSYSLOG( x... ) dsyslog( "[control] "x );
> >
> 
> Yes, it works, now. This should be changed in the control-plugin!

Changed for the next release :-)

Thanks
Jan



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



Home | Main Index | Thread Index