[Ffmpeg-devel] [PATCH] from DivX, Part 7: MSVC fixes

Steve Lhomme slhomme
Thu Dec 22 00:37:09 CET 2005

Rich Felker wrote:
>>Tell me in the standard C __align8 is defined. As ffmpeg is supposed to 
> _align8 is #defined on gcc to gcc-specific stuff, and defined as empty
> on other compilers. This is perfectly fine since it's only needed for
> the asm, which is only supported on gcc.
>>be compiled with any _standard_ C compiler.
> Yes, with inline asm disabled. If you enable inline asm it's gcc-only
> (or compatible compilers).

Then I suggest you add "--ansi" to your gcc compile option and you'll 
see how the code behaves with a _standard_ C compiler without all the 
gcc and later C additions

More information about the ffmpeg-devel mailing list