mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
configure: disable -Wunused-const-variable
The option became too aggressive with GCC 6, generating nearly 500 warnings from static const variables defined in assorted headers Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
03d83ba34b
commit
c1a3683f26
1
configure
vendored
1
configure
vendored
@ -5780,6 +5780,7 @@ check_disable_warning -Wno-parentheses
|
||||
check_disable_warning -Wno-switch
|
||||
check_disable_warning -Wno-format-zero-length
|
||||
check_disable_warning -Wno-pointer-sign
|
||||
check_disable_warning -Wno-unused-const-variable
|
||||
|
||||
# add some linker flags
|
||||
check_ldflags -Wl,--warn-common
|
||||
|
Loading…
Reference in New Issue
Block a user