[Ffmpeg-devel] [PATCH] missing parentheses in macro definition
Fri Aug 11 17:16:28 CEST 2006
On Fri, 2006-08-11 at 16:36 +0200, Marco Manfredini wrote:
> CHECK_BIDIR expands to something like --1>=0 which gcc surprisingly eats, but
> the Intel Compiler not.
IIRC preprocessing should work at the level of preprocessing tokens, and
having two consecutive '-' tokens should not equal one '--' token. So
the intel compiler (preprocessor part) is buggy if it combines a '-'
from the macro and one from the macro argument into a different token.
More information about the ffmpeg-devel