apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davi Arnaut <d...@apache.org>
Subject Re: compile emits on linux for our new atomics (trunk)
Date Sun, 14 Oct 2007 13:42:20 GMT
William A. Rowe, Jr. wrote:
> /bin/sh /local0/asf/build/apr-1.x/libtool --silent --mode=compile gcc -g -O2 -pthread
  -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT 
> -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -I./include -I/local0/asf/build/apr-1.x/include/arch/unix
-I./include/arch/unix 
> -I/local0/asf/build/apr-1.x/include  -o atomic/unix/mutex.lo -c atomic/unix/mutex.c &&
touch atomic/unix/mutex.lo
> atomic/unix/mutex.c: In function 'apr_atomic_xchgptr':
> atomic/unix/mutex.c:195: warning: passing argument 1 of 'mutex_hash' from incompatible
pointer type
> atomic/unix/mutex.c:197: warning: assignment discards qualifiers from pointer target
type
> 
> Linux s170.rcs 2.6.22.9-91.fc7 #1 SMP Thu Sep 27 23:10:59 EDT 2007 i686 i686 i386 GNU/Linux
> 
> GCC 4.1.2
> 
> More info available on request.

Hi,

rpluem already fixed the problem, but I'm curious, you used the
configure option --enable-nonportable-atomics=no?

--
Davi Arnaut

Mime
View raw message