[vdr] Build failures with gcc 4.4

Ville Skyttä ville.skytta at iki.fi
Tue Apr 14 22:12:15 CEST 2009

On Friday 27 February 2009, Ville Skyttä wrote:
> Hello,
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.6.0-gcc44.patch
Type: text/x-patch
Size: 421 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20090414/ff05959b/attachment.bin 

More information about the vdr mailing list