diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-01-14 20:38:33 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-01-14 22:49:44 +0100 |
commit | 99853cb8d4237b810b2fffb4a34f66fd0064ef72 (patch) | |
tree | 67a3c01a0cacda68d8bfc5873ae076fc31146563 /configure | |
parent | 51969a652c2e9e330393c9ad40f919516a4795d1 (diff) | |
download | ffmpeg-99853cb8d4237b810b2fffb4a34f66fd0064ef72.tar.gz |
configure: Make warnings from -Wreturn-type fatal errors
These warnings have no false positives and point to serious bugs.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3684,6 +3684,7 @@ elif enabled gcc; then check_optflags -fno-tree-vectorize check_cflags -Werror=implicit-function-declaration check_cflags -Werror=missing-prototypes + check_cflags -Werror=return-type check_cflags -Werror=declaration-after-statement check_cflags -Werror=vla elif enabled llvm_gcc; then @@ -3693,6 +3694,7 @@ elif enabled clang; then check_cflags -Qunused-arguments check_cflags -Werror=implicit-function-declaration check_cflags -Werror=missing-prototypes + check_cflags -Werror=return-type elif enabled armcc; then # 2523: use of inline assembler is deprecated add_cflags -W${armcc_opt},--diag_suppress=2523 |