[vdr] Build failures with gcc 4.4

Ludwig Nussel ludwig.nussel at suse.de
Thu Jun 4 09:12:01 CEST 2009

Ville Skyttä wrote:
> On Friday 27 February 2009, Ville Skyttä wrote:
> > I'm trying to build VDR 1.6.0-2 for the upcoming Fedora 11 release which
> > has gcc 4.4.  There are a bunch of compilation errors as gcc has again
> > become less forgiving for C++ than it used to be.
> >
> > One very common source of problems is explained here:
> > http://markmail.org/message/e5y6atneqztuvpw6#query:
> > +page:1+mid:hdkehz7bgl5b6vgc+state:results
> >
> > There are quite a few of these problems in VDR 1.6.0-2 ("error: invalid
> > conversion from 'const char*' to 'char*'").  I started patching but quickly
> > realized that this is a job for someone who actually knows what he's doing.
> [...]
> ...but until there's a real fix available, the attached ugly patch at least 
> makes the build succeed with gcc 4.4.

So gcc 4.4 finally hit openSUSE as well. I use the attached patch to
make vdr compile. Seems to work fine too. The code that requires
those const casts is really ugly though.


 (o_   Ludwig Nussel
 V_/_  http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.6.0-const.diff
Type: text/x-patch
Size: 2648 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20090604/c92587d8/attachment.bin 

More information about the vdr mailing list