[FFmpeg-devel] C99 or GCC extensions

Axel Holzinger aholzinger
Fri Jul 11 19:49:03 CEST 2008

Hello Reimar,

Reimar D?ffinger writes:
> Hello,
> On Fri, Jul 11, 2008 at 06:40:43PM +0200, Axel Holzinger wrote:
> > The FASTDIV macro uses statements in an expression. The only
> > way to come around this I can see with C99 is to move the
> > code in an inlined function.
> Well, it uses asm, too, so it still will not be C99 either
> afterwards.
> So IMO you would have to provide a point why it is not completely
> pointless (note that I personally noticed this too some time ago,
> but due to the asm I considered it not worth "fixing").

Indeed it uses asm and that is GNU style asm OTOH there are other
compilers that support C99 and GNU asm, but don't allow statements
in expressions or other GCC extensions.

I opt for C as C99 and asm as GAS.

All the best

More information about the ffmpeg-devel mailing list