https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105404
--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to David Binderman from comment #7) > (In reply to Martin Liška from comment #6) > > Can't see the warning when I build the current zlib library with clang. > > You might need to switch on -Wall or (more likely) -Wextra. Well, I use default options for that. > > > Can you please paste a build log? > > Not easily. Here is one example warning, amongst many: > > ../../trunk.git/zlib/uncompr.c:86:13: warning: a function declaration > without a prototype is deprecated in all versions of C and is not supported > in C2x [-Wdeprecated-non-prototype] > > As I say, pattern /zlib/.*-Wdeprecated-non-prototype would probably work. Sure, please send a patch for it.