mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
build: Add -Wpedantic and -Wextra to extra warning flags
Also drop -Winline from set of warning flags as it only produces noise.
This commit is contained in:
parent
33a2b73b98
commit
984e50e74b
8
configure
vendored
8
configure
vendored
@ -4834,8 +4834,12 @@ check_cflags -Wtype-limits
|
||||
check_cflags -Wundef
|
||||
check_cflags -Wmissing-prototypes
|
||||
check_cflags -Wstrict-prototypes
|
||||
enabled extra_warnings && check_cflags -Winline
|
||||
enabled extra_warnings && check_cflags -Wcast-qual
|
||||
|
||||
if enabled extra_warnings; then
|
||||
check_cflags -Wcast-qual
|
||||
check_cflags -Wextra
|
||||
check_cflags -Wpedantic
|
||||
fi
|
||||
|
||||
check_disable_warning(){
|
||||
warning_flag=-W${1#-Wno-}
|
||||
|
Loading…
Reference in New Issue
Block a user