[PATCH] configure: Use -Wimplicit-function-declaration if possible.

Dean Greer gcenx83 at gmail.com
Fri Apr 9 12:32:16 CDT 2021


clang-11 and below don’t enabled this by default (not Apple-clang)

My current CFLAGS for compiling wine are “-g -O2 -fPIC -Wall
-Wdeclaration-after-statement -Wwrite-strings -Wtype-limits”

Referring to the macOS specific issue from recently Xcode11 didn’t even
show a warning nor did upstream clang-11.

On Fri, Apr 9, 2021 at 1:09 PM Gijs Vermeulen <gijsvrm at gmail.com> wrote:

> I sent my previous email by accident, sorry about that.
>
> Op vr 9 apr. 2021 om 18:52 schreef Zebediah Figura (she/her) <
> zfigura at codeweavers.com>:
>
>> Is there a compiler known that disables those warnings by default? gcc
>> enables it as part of -Wall, so it should already be enabled.
>>
>
> IIRC I had to explicitly add -Wimplicit-function-declaration for Clang
> shipped by XCode 11.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210409/38ebd5e0/attachment.htm>


More information about the wine-devel mailing list