aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Darnley <james.darnley@gmail.com>2014-04-04 01:18:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-04 01:37:17 +0200
commit7307a7fd936e9d228d331b67613d5c9454ad4476 (patch)
tree45f147f308e03fe292d127fa2ba98666880bde8c
parent8710ee11d75eebc17e7d63bc6ffb91766933bd68 (diff)
downloadffmpeg-7307a7fd936e9d228d331b67613d5c9454ad4476.tar.gz
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@gmx.at>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 46452ee443..28b724696f 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(){