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

Dave Yeo dave.r.yeo at gmail.com
Fri Apr 22 08:27:41 CEST 2016


On 04/20/16 11:46 PM, Reimar Döffinger wrote:
> On 21.04.2016, at 06:02, Dave Yeo <daveryeo at telus.net> wrote:
>
>> On 04/20/16 07:40 PM, Michael Niedermayer wrote:
>>> 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(-)
>> [...]
>>>
>>> maybe iam missing someting but
>>> gcc doesnt/shouldnt report warnings for "system headers" AFAIK
>>>
>>> [...]
>>
>> It's strange. If I build under /usr/local/src with the standard environment (just tested with trunk), the warnings don't happen.
>> When I built 3.0.1 in its own directory with the environment set up to find the libraries I'm linking against, eg $C_INCLUDE_PATH, $LIBRARY_PATH etc defined, I get warnings such as
>
> Have something that results in adding -I/usr/include to the compile options or to C_INCLUDE_PATH? Probably your compiler is misconfigured to not consider that a system include path.
> Adding -isystem /usr/include should fix it.

Actually it didn't though according to the documentation, it looks like 
it should have. Even tried -isysroot which broke compilation.
Dave


More information about the ffmpeg-devel mailing list