apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42992] - test case for apr_atomic_casptr uses incompatible pointer type
Date Sun, 29 Jul 2007 06:48:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42992>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42992





------- Additional Comments From carenas@sajinet.com.pe  2007-07-28 23:48 -------
got warning with either gcc-4.1.2 or gcc-3.4.6 in amd64 linux as shown below :

$ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure -
-prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/l
ib/gcc/x86_64-pc-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/x86_64-pc
-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --in
fodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-linux-gnu
 --build=x86_64-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib 
--disable-checking --disable-werror --enable-secureplt --disable-libunwind-excep
tions --enable-multilib --disable-libmudflap --disable-libssp --enable-languages
=c,c++,java,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit
 --enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 (Gentoo 4.1.2)
$ make testatomic.o
gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE  
-I../include  -c testatomic.c
testatomic.c: In function 'check_basic_atomics':
testatomic.c:84: warning: passing argument 1 of 'apr_atomic_casptr' from
incompatible pointer type
testatomic.c:91: warning: passing argument 1 of 'apr_atomic_casptr' from
incompatible pointer type
testatomic.c:98: warning: passing argument 1 of 'apr_atomic_casptr' from
incompatible pointer type



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message