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

Dave Dodge dododge
Thu Dec 22 13:05:17 CET 2005


On Thu, Dec 22, 2005 at 12:17:01PM +0100, Michel Bardiaux wrote:
> Is there a switch to force a warning or error on the use of the *evil* 
> (IMNSHO) C9xism of declarations-mixed-with-execution?

-Wdeclaration-after-statement

Just tried it in gcc 3.4.2 and it seems to do what you want even when
-std=c99 is enabled.

                                                  -Dave Dodge





More information about the ffmpeg-devel mailing list