[FFmpeg-cvslog] configure: disable -Wunused-const-variable

James Almer git at videolan.org
Tue Jan 19 00:17:40 CET 2016


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Jan 18 16:25:11 2016 -0300| [c1a3683f26fb49ae700f0c202ab395cbcbd927a5] | committer: James Almer

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 at niedermayer.cc>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c1a3683f26fb49ae700f0c202ab395cbcbd927a5
---

 configure |    1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index cdf07ae..4dcb27b 100755
--- a/configure
+++ b/configure
@@ -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



More information about the ffmpeg-cvslog mailing list