[FFmpeg-devel] [PATCH 3/3] configure: Remove -Wredundant-decls on OS/2 to suppress noise.

Michael Niedermayer michael at niedermayer.cc
Thu Apr 21 04:40:41 CEST 2016


On Thu, Apr 14, 2016 at 07:31:48PM -0700, Dave Yeo wrote:
> From a417fdf752bd7c704ed5ba0c94c5cea96e1a91ff Mon Sep 17 00:00:00 2001
> From: Dmitriy Kuminov <coding at dmik.org>
> Date: Thu, 14 Apr 2016 01:53:46 +0400
> Subject: [PATCH 3/3] configure: Remove -Wredundant-decls on OS/2 to suppress
>  noise.
> 
> This warning causes too much noise in libc 0.6.6- headers due to
> duplicate function decls here and there.
> 
> Signed-off-by: Dave Yeo <daveryeo at telus.net>
> ---
>  configure | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 36a23f4..767b18f 100755
> --- a/configure
> +++ b/configure
> @@ -5881,7 +5881,10 @@ check_cflags -Wdeclaration-after-statement
>  check_cflags -Wall
>  check_cflags -Wdisabled-optimization
>  check_cflags -Wpointer-arith
> -check_cflags -Wredundant-decls
> +if test "$host_os" != "os/2"; then
> +    # This causes too much noise in libc headers on OS/2
> +    check_cflags -Wredundant-decls
> +fi

maybe iam missing someting but
gcc doesnt/shouldnt report warnings for "system headers" AFAIK

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160421/c28157e5/attachment.sig>


More information about the ffmpeg-devel mailing list