https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105404
--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to David Binderman from comment #4) > (In reply to Jonathan Wakely from comment #3) > > No, because we don't use the buggy Z_FIXED feature. > > Righto. Presumably the upgrade can be postponed until after the current > version of gcc trunk is released. > > I note with interest that there is a lot of old K'n'R style code in the zlib > library > which clang warns won't compile with c2x. > > It might be worth adding an extra filter to file > contrib/filter-clang-warnings.py to remove such warnings. > > Pattern /zlib/.*-Wdeprecated-non-prototype would probably work. Can't see the warning when I build the current zlib library with clang. Can you please paste a build log?