Skip to content
Snippets Groups Projects
Commit c1a3683f authored by James Almer's avatar James Almer
Browse files

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: default avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: default avatarJames Almer <jamrial@gmail.com>
parent 03d83ba3
No related branches found
No related tags found
No related merge requests found
...@@ -5780,6 +5780,7 @@ check_disable_warning -Wno-parentheses ...@@ -5780,6 +5780,7 @@ check_disable_warning -Wno-parentheses
check_disable_warning -Wno-switch check_disable_warning -Wno-switch
check_disable_warning -Wno-format-zero-length check_disable_warning -Wno-format-zero-length
check_disable_warning -Wno-pointer-sign check_disable_warning -Wno-pointer-sign
check_disable_warning -Wno-unused-const-variable
# add some linker flags # add some linker flags
check_ldflags -Wl,--warn-common check_ldflags -Wl,--warn-common
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment