On 21 Sep 2024, at 07:40, Ivan Zhakov <[email protected]> wrote:
>> > What do you think about the release of APR 1.7.6?
>>
>> Works for me, I would like to wait a bit for the 2nd Solaris break in
>> 1.7.5 https://bz.apache.org/bugzilla/show_bug.cgi?id=69290
>>
> I agree that this is worth waiting for.
Just applied the patch above to apr-trunk and tried a build on MacOS+ clang,
and it throws a warning as follows:
Little-Net-8818:apr-trunk4 minfrin$ make
/bin/sh /Users/minfrin/src/apache/sandbox/httpd/apr-trunk4/libtool --silent
--mode=compile --tag=CC gcc -g -O2 -DHAVE_CONFIG_H -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -I./include
-I/Users/minfrin/src/apache/sandbox/httpd/apr-trunk4/include/arch/unix
-I./include/arch/unix
-I/Users/minfrin/src/apache/sandbox/httpd/apr-trunk4/include/arch/unix
-I/Users/minfrin/src/apache/sandbox/httpd/apr-trunk4/include
-I/Users/minfrin/src/apache/sandbox/httpd/apr-trunk4/include/private
-I/Users/minfrin/src/apache/sandbox/httpd/apr-trunk4/include/private
-I/opt/local//include -I/opt/local//include/nss -I/opt/local//include/nss3
-I/opt/local//include/nspr -I/opt/local//include/nspr4 -I/opt/local//../public
-o atomic/unix/builtins.lo -c atomic/unix/builtins.c && touch
atomic/unix/builtins.lo
atomic/unix/builtins.c:127:38: warning: passing 'volatile void **' to parameter
of type 'void **' discards qualifiers in nested pointer types
[-Wincompatible-pointer-types-discards-qualifiers]
127 | __atomic_compare_exchange_n(mem, (volatile void **)&cmp, ptr, 0,
| ^~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Looks like some const-ness needs to be aligned to fix this.
Regards,
Graham
--