Obvious solution: --- a/prnt/hpps/pserror.c +++ b/prnt/hpps/pserror.c @@ -24,7 +24,7 @@ extern char *program ; /* Defined by mai void message(int flags, char *format, ...) { va_list args ; - static column = 0 ; /* current screen column for message wrap */ + static int column = 0 ; /* current screen column for message wrap */ char msgbuf[MAX_MESSAGE] ; /* buffer in which to put the message */ char *bufptr = msgbuf ; /* message buffer pointer */ proposed by Khem Raj <raj.khem@gmail.com>, found here: https://cgit.openembedded.org/meta-openembedded/plain/meta-oe/recipes-extended/hplip/hplip/0003-pserror.c-Define-column-to-be-int-explcitly.patch
I assume this is with Clang 15. In future, please do include the full build.log & emerge --info for completeness.
Yes, Clang-15. "New" ;-), C99 behaviour.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ffbc3953bf242a0fd241a0a2395a3d9616cd5b4 commit 6ffbc3953bf242a0fd241a0a2395a3d9616cd5b4 Author: Daniel Pielmeier <billie@gentoo.org> AuthorDate: 2022-09-15 18:56:41 +0000 Commit: Daniel Pielmeier <billie@gentoo.org> CommitDate: 2022-09-15 18:56:41 +0000 net-print/hplip: Update patchset to fix build with Clang 15 Signed-off-by: Daniel Pielmeier <billie@gentoo.org> Closes: https://bugs.gentoo.org/869785 net-print/hplip/Manifest | 1 + net-print/hplip/hplip-3.22.6.ebuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)