Merge commit 'c98d164a6a2c3d93bfb10d44c946bc3ed56f14e7' into release/0.10
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Aug 2014 18:01:22 +0000 (20:01 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Aug 2014 18:01:22 +0000 (20:01 +0200)
* commit 'c98d164a6a2c3d93bfb10d44c946bc3ed56f14e7':
  configure: Check for -Werror parameters on clang

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
1  2 
configure

diff --cc configure
+++ b/configure
@@@ -3375,7 -3141,8 +3375,9 @@@ elif enabled llvm_gcc; the
  elif enabled clang; then
      check_cflags -mllvm -stack-alignment=16
      check_cflags -Qunused-arguments
 +    check_cflags -Werror=return-type
+     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