[FFmpeg-cvslog] configure: Make warnings from -Wreturn-type fatal errors

Diego Biurrun git at videolan.org
Sun Aug 18 00:01:00 CEST 2013


ffmpeg | branch: release/0.6 | Diego Biurrun <diego at biurrun.de> | Mon Jan 14 20:38:33 2013 +0100| [3f785a538b4b45f64282fd44bcee57b83f5eb878] | committer: Michael Niedermayer

configure: Make warnings from -Wreturn-type fatal errors

These warnings have no false positives and point to serious bugs.
(cherry picked from commit 99853cb8d4237b810b2fffb4a34f66fd0064ef72)

Conflicts:

	configure

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 configure |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 9587c88..9d30ed9 100755
--- a/configure
+++ b/configure
@@ -2796,8 +2796,10 @@ elif enabled gcc; then
     check_cflags -fno-tree-vectorize
     check_cflags -Werror=implicit
     check_cflags -Werror=missing-prototypes
+    check_cflags -Werror=return-type
 elif enabled clang; then
     check_cflags -Qunused-arguments
+    check_cflags -Werror=return-type
 elif enabled armcc; then
     # 2523: use of inline assembler is deprecated
     add_cflags -Wrvct,--diag_suppress=2523



More information about the ffmpeg-cvslog mailing list