[FFmpeg-cvslog] configure: Check for -Werror parameters on clang
Martin Storsjö
git at videolan.org
Tue Aug 12 20:24:56 CEST 2014
ffmpeg | branch: release/0.10 | Martin Storsjö <martin at martin.st> | Tue Nov 13 19:01:51 2012 +0200| [c98d164a6a2c3d93bfb10d44c946bc3ed56f14e7] | committer: Luca Barbato
configure: Check for -Werror parameters on clang
Signed-off-by: Martin Storsjö <martin at martin.st>
(cherry picked from commit 9eded0fe412e610ee8944681d5c554b723463e96)
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c98d164a6a2c3d93bfb10d44c946bc3ed56f14e7
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index 13066e2..e12b88d 100755
--- a/configure
+++ b/configure
@@ -3141,6 +3141,8 @@ elif enabled llvm_gcc; then
elif enabled clang; then
check_cflags -mllvm -stack-alignment=16
check_cflags -Qunused-arguments
+ check_cflags -Werror=implicit-function-declaration
+ check_cflags -Werror=missing-prototypes
elif enabled armcc; then
# 2523: use of inline assembler is deprecated
add_cflags -W${armcc_opt},--diag_suppress=2523
More information about the ffmpeg-cvslog
mailing list