Minor nag: APU build warnings (RHEL 8 plus Solaris)

Rainer Jung <[email protected]>
Newsgroups gmane.comp.apache.apr.devel
Message-ID <[email protected]>
During build and test for the 1.6.2-rc2 release vote I noticed the 
following warnings. None is new, they were already present at least for 
1.6.1:

Only Solaris

xlate/xlate.c:120:38: warning: passing argument 2 of 'iconv' from 
incompatible pointer type [-Wincompatible-pointer-types]
xlate/xlate.c:343:42: warning: passing argument 2 of 'iconv' from 
incompatible pointer type [-Wincompatible-pointer-types]


RHEL 8+Solaris (test code):

test/testbuckets.c:108:13: warning: passing argument 1 to 
restrict-qualified parameter aliases with argument 3 [-Wrestrict]
test/testbuckets.c:108:21: warning: ': result match' directive writing 
14 bytes into a region of size between 1 and 200 [-Wformat-overflow=]
test/testbuckets.c:108:5: note: 'sprintf' output between 15 and 214 
bytes into a destination of size 200

And then we have the OpenSSL 3 deprecations in cvrypto:

ENGINE *ENGINE_by_id(const char *id);
int ENGINE_finish(ENGINE *e);
int ENGINE_free(ENGINE *e);
int ENGINE_init(ENGINE *e);
int ENGINE_register_all_complete(void);
void ENGINE_load_builtin_engines(void);

in crypto/apr_crypto_openssl.c lines 141, 142, 208, 209, 326, 330, 331.

Best regards,

Rainer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.