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

Michel Bardiaux mbardiaux
Thu Dec 22 12:17:01 CET 2005


Dave Dodge wrote:
> On Thu, Dec 22, 2005 at 12:56:23AM +0100, Aurelien Jacobs wrote:
> 
>>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.
> 
> 
> On my own projects I normally use "-std=c99 -pedantic -Wall -Wextra",
> but that may be a bit more extreme than most people want to deal with.
> 
>                                                   -Dave Dodge
> 
I like my compiler paranoid too, and I even add -Werror.

Is there a switch to force a warning or error on the use of the *evil* 
(IMNSHO) C9xism of declarations-mixed-with-execution?

-- 
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/





More information about the ffmpeg-devel mailing list