[FFmpeg-cvslog] configure: check and use -Wempty-body

James Darnley git at videolan.org
Fri Apr 4 01:49:42 CEST 2014


ffmpeg | branch: master | James Darnley <james.darnley at gmail.com> | Fri Apr  4 01:18:02 2014 +0200| [7307a7fd936e9d228d331b67613d5c9454ad4476] | committer: Michael Niedermayer

configure: check and use -Wempty-body

Would have shown the trailing semi-colon in lavu/log.c that broke detection of
256 colour capable terminals.

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

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

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

diff --git a/configure b/configure
index 46452ee..28b7246 100755
--- a/configure
+++ b/configure
@@ -4776,6 +4776,7 @@ check_cflags -Wundef
 check_cflags -Wmissing-prototypes
 check_cflags -Wno-pointer-to-int-cast
 check_cflags -Wstrict-prototypes
+check_cflags -Wempty-body
 enabled extra_warnings && check_cflags -Winline
 
 check_disable_warning(){



More information about the ffmpeg-cvslog mailing list