[Ffmpeg-devel] Prototypes

Michel Bardiaux mbardiaux
Wed Aug 30 18:34:54 CEST 2006


Michael Niedermayer wrote:
> Hi
> 
> On Wed, Aug 30, 2006 at 05:42:43PM +0200, Michel Bardiaux wrote:
>> I just realized that ffmpeg is compiled without making prototypes 
>> mandatory, you just get a warning, which is of course lost in the see of 
>> other warnings.
>>
>> Given that it's probably be a long time before we're in a position to 
>> make warnings fatal, shouldnt we force -Mmissing_prototypes?
> 
> you mean  -Wmissing-prototypes ? if so ive no objections

-Wall is used and flags missing prototypes. Actually what I wanted was 
to have missing prototypes generate an error even if the warnings are 
not fatal. But I misread the man page; there does not seem to be a way 
to do that. The only way seems to be make all warnings illegal!

> furthermore maybe we should consider adding the following too
> 
> -Wdisabled-optimization
> -Wpointer-arith
> -Wredundant-decls
> -Winline
> 
> comments welcome ...
> 
> [...]


-- 
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