[FFmpeg-devel] [PATCH 2/3] configure: check and use -Wempty-body

James Darnley james.darnley at gmail.com
Fri Apr 4 01:18:02 CEST 2014


Would have shown the trailing semi-colon in lavu/log.c that broke detection of
256 colour capable terminals.
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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(){
-- 
1.7.9



More information about the ffmpeg-devel mailing list