[Ffmpeg-devel] [PATCH] Dead code cleanup - C++

Michael Niedermayer michaelni
Fri Jan 26 10:23:34 CET 2007


Hi

On Fri, Jan 26, 2007 at 05:15:07AM +0100, Diego Biurrun wrote:
> On Fri, Jan 26, 2007 at 01:24:39PM +1030, Yuri Vilmanis wrote:
> > Removed some dead code relating to C++. As no part of the codebase
> > will ever be seen by a C++ compiler, any code protected by
> > #ifdef__cplusplus will *never* get past the preprocessor, and so can
> > be safely removed. The files in which these guards appear are not
> > valid C++ anyway, so removing these references to C++ should reduce
> > future confusion on this issue. The C++ wrapper "fobs" (or other
> > C++ wrappers I'm not aware of) can be used by anyone requiring C++
> > support.
> 
> OK to apply this patch?

all the versions should be bumped a little at least so user apps
could detect if these macros are there or not

now about the patch itself, i have no real oppinion on this, it where
c++ people who wanted it, and now its one c++ developer who wants it
removed, i think that the people who wanted this (see svnlog i dont
remember at all) should at least get a chance to comment first

[...] 

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070126/79a691b1/attachment.pgp>



More information about the ffmpeg-devel mailing list