[Ffmpeg-devel] [PATCH] from DivX, Part 7: MSVC fixes
Aurelien Jacobs
aurel
Thu Dec 22 00:56:23 CET 2005
On Wed, 21 Dec 2005 13:37:09 -1000
Steve Lhomme <slhomme at divxcorp.com> wrote:
> 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
-ansi is the same as -std=c89, which means ISO C90 (yes, funny).
Ok, this is one of the C _standard_.
But nowadays, when we are talking about _standard_ C, we are more
probably talking about ISO C99. So you should do your tests with -std=c99
instead of -ansi.
And it seems that named initializers ARE _standard_ C :
http://www.comeaucomputing.com/techtalk/c99/#designatedinitializers
Aurel
More information about the ffmpeg-devel
mailing list