[MPlayer-cvslog] r32973 - trunk/mplayer.c
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Mar 6 16:37:55 CET 2011
On Sun, Mar 06, 2011 at 04:05:36PM +0100, Diego Biurrun wrote:
> On Sun, Feb 27, 2011 at 02:17:28PM +0100, Reimar Döffinger wrote:
> >
> > Missing function prototypes probably should be made
> > an error, as for FFmpeg.
>
> Patches welcome.
(using -Werror-implicit-function-declaration instead of -Werror=implicit-function-declaration
should mean we do not have to check whether it is supported)
Index: configure
===================================================================
--- configure (revision 33029)
+++ configure (working copy)
@@ -2579,7 +2579,7 @@
CFLAGS="-O2 $_march $_mcpu $_pipe"
else
CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
- WARNFLAGS="-Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls"
+ WARNFLAGS="-Wall -Wno-switch -Wno-parentheses -Wpointer-arith -Wredundant-decls -Werror-implicit-function-declaration"
extra_ldflags="$extra_ldflags -ffast-math"
fi
else
More information about the MPlayer-cvslog
mailing list