On 08/07/2017 08:37 AM, Scott wrote:
spamassassin-3.4.1-14.fc27.src.rpm is available now.
When trying to rebuild that src (or the one you mentioned earlier) for my
Centos7 box I get these warnings:
Is this OK? Is there a fix?
spamc/libspamc.c: In function '_try_to_connect_tcp':
spamc/libspamc.c:490:19: warning: variable 'family' set but not used
[-Wunused-but-set-variable]
char *family = NULL;
^
spamc/libspamc.c: In function 'message_filter':
spamc/libspamc.c:1217:11: warning: assignment discards 'const' qualifier
from pointer target type [enabled by default]
meth = TLSv1_client_method();
^
spamc/libspamc.c:1219:11: warning: assignment discards 'const' qualifier
from pointer target type [enabled by default]
meth = SSLv3_client_method(); /* default */
^
spamc/libspamc.c: In function 'message_tell':
spamc/libspamc.c:1607:7: warning: assignment discards 'const' qualifier from
pointer target type [enabled by default]
meth = SSLv3_client_method();
^
spamc/libspamc.c: In function 'transport_setup':
spamc/libspamc.c:1914:35: warning: unused variable 'addrp'
[-Wunused-variable]
struct addrinfo hints, *res, *addrp;
^
spamc/libspamc.c: In function 'libspamc_log':
spamc/libspamc.c:2242:9: warning: ignoring return value of 'write', declared
with attribute warn_unused_result [-Wunused-result]
(void) write (2, buf, len);
^
I get this too and it still builds fine and works properly. These are
only warnings.
--
David Jones