``` --- /tmp/clang/home/tinderbox/img/17.1_no_multilib_hardened-j4-20221204-010004/var/tmp/clang/net-misc/rwhoisd-1.5.9.6-r2/clang16-safe.log 2023-02-11 03:38:30.736904353 +0000 +++ /tmp/clang/home/tinderbox/img/17.1_no_multilib_hardened-j4-20221204-010004/var/tmp/clang/net-misc/rwhoisd-1.5.9.6-r2/clang16-errors.log 2023-02-11 03:38:30.740237696 +0000 @@ -120,7 +120,7 @@ /usr/include/stdio.h:332:12: note: previous declaration is here extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, ^ -ignoreme: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] +ignoreme: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] char buf; return setvbuf (stdout, _IOLBF, &buf, 1); ^~~~~~ /usr/include/stdio.h:94:16: note: expanded from macro '_IOLBF' @@ -129,12 +129,13 @@ /usr/include/stdio.h:332:65: note: passing argument to parameter '__buf' here extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, ^ -ignoreme: warning: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] +ignoreme: error: incompatible pointer to integer conversion passing 'char *' to parameter of type 'int' [-Wint-conversion] char buf; return setvbuf (stdout, _IOLBF, &buf, 1); ^~~~ /usr/include/stdio.h:333:11: note: passing argument to parameter '__modes' here int __modes, size_t __n) __THROW; ^ +3 errors generated. ```
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0c7585f5ff58e7a5c9538ad7d60c69699032d4 commit 8e0c7585f5ff58e7a5c9538ad7d60c69699032d4 Author: Pascal Jäger <pascal.jaeger@leimstift.de> AuthorDate: 2022-12-15 21:55:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-09 18:06:02 +0000 net-misc/rwhoisd: fix build for clang16 Closes: https://bugs.gentoo.org/725194 Closes: https://bugs.gentoo.org/861830 Closes: https://bugs.gentoo.org/870940 Closes: https://bugs.gentoo.org/893906 Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de> Closes: https://github.com/gentoo/gentoo/pull/28676 Signed-off-by: Sam James <sam@gentoo.org> net-misc/rwhoisd/Manifest | 1 + net-misc/rwhoisd/files/rwhoisd-1.5.9.6-c99.patch | 89 ++++++++++++++++++++++ .../files/rwhoisd-1.5.9.6-fix-direct-ar-call.patch | 33 ++++++++ net-misc/rwhoisd/rwhoisd-1.5.9.6-r3.ebuild | 61 +++++++++++++++ 4 files changed, 184 insertions(+)