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@xxxxxxxxxxx > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > > > _______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr