When compiling zlib C source of Phobos (as part of DMD or LDC builds), there is extreme warning spam like this:
```
D:\a\ldc\ldc\runtime\phobos\etc\c\zlib\gzlib.c(517,13): warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT gzeof(file)
```
We need to update all function definitions in the C source files...
@kinke updated dlang/phobos pull request #8919 "Bump zlib to latest v1.3.1" mentioning this issue:
- Bump zlib to latest v1.3.1
Which should cleanly compile with C11 now, without walls of warnings
with e.g. recent clang versions. Resolves Bugzilla Issue 24268.
https://github.com/dlang/phobos/pull/8919
Comment #3 by dlang-bot — 2024-02-24T22:07:18Z
dlang/phobos pull request #8919 "Bump zlib to latest v1.3.1" was merged into master:
- c97ea340c6706fc3dd416302ff4982ee6242fd4e by Martin Kinkelin:
Bump zlib to latest v1.3.1
Which should cleanly compile with C11 now, without walls of warnings
with e.g. recent clang versions. Fixes Bugzilla Issue 24268.
https://github.com/dlang/phobos/pull/8919