[FFmpeg-cvslog] configure: Check for -Werror parameters on clang

Martin Storsjö git at videolan.org
Fri Nov 16 13:16:23 CET 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue Nov 13 19:01:51 2012 +0200| [9eded0fe412e610ee8944681d5c554b723463e96] | committer: Martin Storsjö

configure: Check for -Werror parameters on clang

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 configure |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index 261b0ac..14a887e 100755
--- a/configure
+++ b/configure
@@ -3549,6 +3549,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