[FFmpeg-cvslog] build: error on mixed declarations and code
Mans Rullgard
git at videolan.org
Thu Dec 22 02:05:02 CET 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Tue Dec 20 16:32:06 2011 +0000| [9d6b2077b27980936efdc616e2f9c92a56b443fc] | committer: Mans Rullgard
build: error on mixed declarations and code
Signed-off-by: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d6b2077b27980936efdc616e2f9c92a56b443fc
---
configure | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 180578d..5cb2d1c 100755
--- a/configure
+++ b/configure
@@ -3118,6 +3118,7 @@ elif enabled gcc; then
check_cflags -fno-tree-vectorize
check_cflags -Werror=implicit-function-declaration
check_cflags -Werror=missing-prototypes
+ check_cflags -Werror=declaration-after-statement
elif enabled llvm_gcc; then
check_cflags -mllvm -stack-alignment=16
elif enabled clang; then
More information about the ffmpeg-cvslog
mailing list