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.
I sent my previous email by accident, sorry about that.
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.