https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8073
Bug ID: 8073
Summary: -Wimplicit-function-declaration warnings in
spamc/configure.in checks
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: PC
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P2
Component: Building & Packaging
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
Created attachment 5856
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5856&action=edit
configure.patch
There are -Wimplicit-function-declaration warnings in spamc/configure.in checks
which can cause problems with upcoming Clang 16 (and likely upcoming GCC 14) as
it can cause silent misconfiguration.
```
error: call to undeclared library function 'printf' with type 'int (const char
*, ...)'; ISO C99 and later do not support implicit function declarations
[-Werror,-Wimplicit-function-declaration]
printf ("%d", SHUT_RD); return 0;
^
```
Patch attached.
--
You are receiving this mail because:
You are the assignee for the bug.