mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
Merge commit '984e50e74ba71301720652e56232161a994bd0b5'
* commit '984e50e74ba71301720652e56232161a994bd0b5': build: Add -Wpedantic and -Wextra to extra warning flags Merged-by: Clément Bœsch <u@pkh.me>
This commit is contained in:
commit
3d0475ef38
8
configure
vendored
8
configure
vendored
@ -6125,8 +6125,12 @@ check_cflags -Wmissing-prototypes
|
||||
check_cflags -Wno-pointer-to-int-cast
|
||||
check_cflags -Wstrict-prototypes
|
||||
check_cflags -Wempty-body
|
||||
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…
x
Reference in New Issue
Block a user