From a417fdf752bd7c704ed5ba0c94c5cea96e1a91ff Mon Sep 17 00:00:00 2001 From: Dmitriy Kuminov <cod...@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 <daver...@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 check_cflags -Wwrite-strings check_cflags -Wtype-limits check_cflags -Wundef -- 2.0.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel