Hi there,

I saw the following build warnings in 2.4.48:

modules/md/md_crypt.c:1382: warning: passing argument 1 of ‘BIO_new_mem_buf’ discards qualifiers from pointer target type
[-Wdiscarded-qualifiers]

=> happens only when building against OpenSSL 1.0.2 (initial release, no letter suffix).


modules/ssl/ssl_engine_kernel.c:2318: warning: ‘set_challenge_creds’ defined but not used
On SLES 11 line number is 2321 instead of 2318

=> happens only when building against 0.9.8zh-1 (other 0.9.8 versions not tested)


modules/ssl/ssl_util_ssl.c:531: warning: passing argument 1 of ‘BIO_new_mem_buf’ discards qualifiers from pointer target type
[-Wdiscarded-qualifiers]

The same again on line 544.

=> happens only when building against OpenSSL 1.0.2 (initial release, no letter suffix) and when building against 0.9.8zh-1 (other 0.9.8 versions not tested)


srclib/apr/locks/unix/proc_mutex.c:979:49: warning: 'mutex_proc_pthread_cond_methods' defined but not used [-Wunused-const-variable=]

=> only on Solaris 10 Sparc (GCC 9.3.0) plus APR 1.7.x
the declaration checks for APR_USE_PROC_PTHREAD_MUTEX_COND, which is defined on Solaris, the use in line 1437 also checks HAVE_PTHREAD_MUTEX_ROBUST, which is not defined on Solaris.


Best regards,

Rainer

Reply via email to