[vdr] [RFC] [PATCH] tools.c: use C++ headers instead of deprecated C headers

Klaus Schmidinger Klaus.Schmidinger at tvdr.de
Sun Dec 12 23:18:15 CET 2010


On 12.12.2010 23:13, Paul Menzel wrote:
> Looking at Henning Heinhold’s patch [1] he changed the includes to the C++ headers instead of the C headers. At least Wikipedia says [2], that the C headers are deprecated.
> 
>     C++ provides this functionality in the header cstdarg; the C header, though permitted, is deprecated in C++.
> 
> Is it desirable to change the includes in all files? If yes, is there a tool which would accomplish this, since after the substitution a reordering is needed?

I like the classic headers more, so unless they are completely eradicated
(which I doubt will ever happen, because it would simply break too many
sources) I'm not going to switch to C++ headers.

Klaus



More information about the vdr mailing list