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
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel