[FFmpeg-devel] Removing DCE
Nicolas George
george at nsup.org
Fri Dec 23 10:40:26 EET 2016
Le primidi 1er nivôse, an CCXXV, Michael Niedermayer a écrit :
> how hard would it be to write a preprocessor like tool to convert
> all if (ARCH/HAVE/CONFIG_SYMBOL ...)
> to
> #if
> ?
For a very general case, quite hard, but we do not need it.
If we stick to a few reasonable cosmetic conventions on the affected
blocks (at a guess: correct indentation of the braces, balanced
parentheses in the condition; we want to do that anyway), then it should
be quite easy to write a preprocessor like that.
I do not know how to integrate that in the build system, though. That is
the annoying part IMHO.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161223/8aed8722/attachment.sig>
More information about the ffmpeg-devel
mailing list