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

Rich Felker dalias
Thu Dec 22 07:18:05 CET 2005

On Wed, Dec 21, 2005 at 01:37:09PM -1000, Steve Lhomme wrote:
> 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

standard means c99.


More information about the ffmpeg-devel mailing list