[FFmpeg-devel] [PATCH] 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 Signed-off-by: James Almer--- Compare http://fate.ffmpeg.org/report.cgi?time=20150921041049=x86_64-archlinux-gcc-experimental with http://fate.ffmpeg.org/report.cgi?time=20150923012551=x86_64-archlinux-gcc-experimental 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 -- 2.7.0 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH] configure: disable -Wunused-const-variable
On 1/18/2016 7:56 PM, Michael Niedermayer wrote: > On Mon, Jan 18, 2016 at 04:29:35PM -0300, James Almer wrote: >> The option became too aggressive with GCC 6, generating nearly 500 >> warnings from static const variables defined in assorted headers >> >> Signed-off-by: James Almer>> --- >> Compare >> http://fate.ffmpeg.org/report.cgi?time=20150921041049=x86_64-archlinux-gcc-experimental >> with >> http://fate.ffmpeg.org/report.cgi?time=20150923012551=x86_64-archlinux-gcc-experimental >> >> configure | 1 + >> 1 file changed, 1 insertion(+) > > LGTM > > thx Pushed. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH] configure: disable -Wunused-const-variable
On Mon, Jan 18, 2016 at 04:29:35PM -0300, James Almer wrote: > The option became too aggressive with GCC 6, generating nearly 500 > warnings from static const variables defined in assorted headers > > Signed-off-by: James Almer> --- > Compare > http://fate.ffmpeg.org/report.cgi?time=20150921041049=x86_64-archlinux-gcc-experimental > with > http://fate.ffmpeg.org/report.cgi?time=20150923012551=x86_64-archlinux-gcc-experimental > > configure | 1 + > 1 file changed, 1 insertion(+) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB DNS cache poisoning attacks, popular search engine, Google internet authority dont be evil, please signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel