[FFmpeg-cvslog] configure: Disable -Wmaybe-uninitialized by default

Luca Barbato git at videolan.org
Mon Oct 28 11:45:40 CET 2013


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sat Oct 26 21:27:48 2013 +0200| [de6061203e2d509579ab110fb1873aade34320f5] | committer: Luca Barbato

configure: Disable -Wmaybe-uninitialized by default

It is by definition unreliable and causes pointless noise on valid
code.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=de6061203e2d509579ab110fb1873aade34320f5
---

 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index f542995..9c2e7fc 100755
--- a/configure
+++ b/configure
@@ -3907,6 +3907,7 @@ check_cflags -Wundef
 check_cflags -Wmissing-prototypes
 check_cflags -Wstrict-prototypes
 enabled extra_warnings && check_cflags -Winline
+enabled extra_warnings || check_cflags -Wno-maybe-uninitialized
 
 # add some linker flags
 check_ldflags -Wl,--warn-common



More information about the ffmpeg-cvslog mailing list