<div dir="auto">clang-11 and below don’t enabled this by default (not Apple-clang)</div><div dir="auto"><br></div><div dir="auto">My current CFLAGS for compiling wine are “<span style="font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;white-space:pre;color:rgb(3,47,98)">-g -O2 -fPIC -Wall -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits”</span></div><div dir="auto"><br></div><div dir="auto">Referring to the macOS specific issue from recently Xcode11 didn’t even show a warning nor did upstream clang-11.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 9, 2021 at 1:09 PM Gijs Vermeulen <<a href="mailto:gijsvrm@gmail.com">gijsvrm@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div dir="ltr">I sent my previous email by accident, sorry about that.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op vr 9 apr. 2021 om 18:52 schreef Zebediah Figura (she/her) <<a href="mailto:zfigura@codeweavers.com" target="_blank">zfigura@codeweavers.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
Is there a compiler known that disables those warnings by default? gcc<br>
enables it as part of -Wall, so it should already be enabled.<br></blockquote><div><br></div><div>IIRC I had to explicitly add -Wimplicit-function-declaration for Clang shipped by XCode 11.</div></div></div>
</blockquote></div></div>