Re: [vdr] VDR 1.7.7 compile problem with gcc 4.4
I demand that gimli may or may not have written... > have compile errors with gcc 4.4. The attached patch makes vdr 1.7.7 > compileable. Why is that a follow-up, and not the start of a new thread? -- | Darren Salt | linux at youmustbejoking | nr. Ashington, | Doon | Debian GNU/Linux | or ds,demon,co,uk| Northumberland | Army | + At least 4000 million too many people. POPULATION LEVEL IS UNSUSTAINABLE. When you're 70 tomorrow's yesterday before you know it was today. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VDR 1.7.7 compile problem with gcc 4.4
Sure, the patch is not the best solution. You are right, whats to ment const should be const. In the first step it's more or less a speed fix :D > On Wed, 2009-05-27 at 16:40 +0200, gimli wrote: > ... >> have compile errors with gcc 4.4. The attached patch makes vdr 1.7.7 >> compileable. > > I wonder if it would not be better to make as many things > as possible "const" rather than casting existing consts away. > > I my code, I am trying to make everything const that I > do not have to change. It allows the compiler to make > additional optimizations and it is safer (protects against > unintended modifications). > > Carsten. > > > ___ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VDR 1.7.7 compile problem with gcc 4.4
On Wed, 2009-05-27 at 16:40 +0200, gimli wrote: ... > have compile errors with gcc 4.4. The attached patch makes vdr 1.7.7 > compileable. I wonder if it would not be better to make as many things as possible "const" rather than casting existing consts away. I my code, I am trying to make everything const that I do not have to change. It allows the compiler to make additional optimizations and it is safer (protects against unintended modifications). Carsten. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] VDR 1.7.7 compile problem with gcc 4.4
Hi, Attached is an updated patch, which also extends tools.h to return char *. > Hi, > > have compile errors with gcc 4.4. The attached patch makes vdr 1.7.7 > compileable. What google told me, gcc 4.4 also affects 1.6.0. > > cu > > Edgar (gimli) Hucek___ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > gcc_4.4.dpatch Description: Binary data ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] VDR 1.7.7 compile problem with gcc 4.4
Hi, have compile errors with gcc 4.4. The attached patch makes vdr 1.7.7 compileable. What google told me, gcc 4.4 also affects 1.6.0. cu Edgar (gimli) Hucek gcc_4.4.dpatch Description: Binary data ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr