mirror of https://git.ffmpeg.org/ffmpeg.git
configure: Make warnings from -Wreturn-type fatal errors
These warnings have no false positives and point to serious bugs.
(cherry picked from commit 99853cb8d4
)
Conflicts:
configure
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a77cf47d88
commit
3f785a538b
|
@ -2796,8 +2796,10 @@ elif enabled gcc; then
|
|||
check_cflags -fno-tree-vectorize
|
||||
check_cflags -Werror=implicit
|
||||
check_cflags -Werror=missing-prototypes
|
||||
check_cflags -Werror=return-type
|
||||
elif enabled clang; then
|
||||
check_cflags -Qunused-arguments
|
||||
check_cflags -Werror=return-type
|
||||
elif enabled armcc; then
|
||||
# 2523: use of inline assembler is deprecated
|
||||
add_cflags -Wrvct,--diag_suppress=2523
|
||||
|
|
Loading…
Reference in New Issue