diff options
author | Diego Biurrun <[email protected]> | 2013-01-14 20:38:33 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2013-04-07 16:38:29 +0200 |
commit | 691017b5c3b2f8369bd08afbc1c03f98b4aefbb8 (patch) | |
tree | 8303923874f13b89c36d6291615e9f37b373815f | |
parent | 119b7a6c7cd8e895446f0b9a982558ac76433718 (diff) |
configure: Make warnings from -Wreturn-type fatal errors
These warnings have no false positives and point to serious bugs.
(cherry picked from commit 99853cb8d4237b810b2fffb4a34f66fd0064ef72)
Conflicts:
configure
Signed-off-by: Michael Niedermayer <[email protected]>
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3360,11 +3360,13 @@ elif enabled gcc; then check_cflags -fno-tree-vectorize check_cflags -Werror=implicit-function-declaration check_cflags -Werror=missing-prototypes + check_cflags -Werror=return-type elif enabled llvm_gcc; then check_cflags -mllvm -stack-alignment=16 elif enabled clang; then check_cflags -mllvm -stack-alignment=16 check_cflags -Qunused-arguments + check_cflags -Werror=return-type elif enabled armcc; then # 2523: use of inline assembler is deprecated add_cflags -W${armcc_opt},--diag_suppress=2523 |