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] New: - test case for apr_atomic_casptr uses incompatible pointer type
Date Sun, 29 Jul 2007 04:18:48 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

           Summary: test case for apr_atomic_casptr uses incompatible
                    pointer type
           Product: APR
           Version: 0.9.12
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: carenas@sajinet.com.pe


as shown by following output excerpt from make check :

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

problem is only present in the 0.9 branch including the current HEAD and the
last released version 0.9.14 and is triggered by a mismatch in the first
parameter pointer which is defined in all architectures as "volatile void **"
but is defined in the test as a dereference to "void *" (netware has a different
ABI, presumably by mistake and uses void **)

-- 
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