[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suspicious warning in W64 build

From: Richard Copley
Subject: Re: Suspicious warning in W64 build
Date: Sat, 16 Sep 2017 00:05:44 +0100

On 15 September 2017 at 09:54, Eli Zaretskii <address@hidden> wrote:
> About this warning:
>   w32.c:7550:1: warning: no previous prototype for 'sys_strerror' 
> [-Wmissing-prototypes]
>    sys_strerror (int error_no)
>    ^~~~~~~~~~~~
> What MinGW64 header has the prototype of strerror?  I thought it was
> string.h, like in mingw.org's headers, but evidently that's not true?
> If the prototype is in string.h, then why is this warning being
> displayed?

It is in string.h.
Forgive me if I misunderstood, but isn't it because the warning is
about a prototype for sys_strerror, not a prototype for strerror?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]