[Ffmpeg-devel] [PATCH] near is a special keyword

Måns Rullgård mru
Thu Mar 2 14:29:10 CET 2006

Jan Knutar said:
> On Thursday 02 March 2006 11:17, Oded Shimon wrote:
>> 'foobar(;;)'. You know C preprocessor doesn't care or even know about C
>> keyword at all, for all it cares everything is text.
> Actually, I think comments get stripped before the preprocessor, but
> otherwise you're right.

Normally the preprocessor strips comments.  With some old preprocessors not
implementing the ## operator the same effect can be achieved with
  #define paste(a,b) a/* */b

GCC has an option to preserve comments through the preprocessor.  This is
useful when examining preprocessor output manually (using the -E option).

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list