libthr & atomic_xxx ops

From: Giorgos Keramidas <keramida_at_freebsd.org>
Date: Fri, 29 Jul 2005 00:38:39 +0300
Recently, libpthread and libthr grew the following warnings in
CURRENT:

# 2005-07-28 04:37:43.704726 - /usr/src/lib/libpthread/sys/lock.c:183: warning: passing arg 1 of `atomic_store_rel_int' from incompatible pointer type
# 2005-07-28 04:37:43.706649 - /usr/src/lib/libpthread/sys/lock.c:183: warning: passing arg 2 of `atomic_store_rel_int' makes integer from pointer without a cast
# 2005-07-28 04:37:43.712510 - /usr/src/lib/libpthread/sys/lock.c:253: warning: passing arg 1 of `atomic_store_rel_int' from incompatible pointer type
# 2005-07-28 04:37:43.714685 - /usr/src/lib/libpthread/sys/lock.c:253: warning: passing arg 2 of `atomic_store_rel_int' makes integer from pointer without a cast
# 2005-07-28 04:37:43.716944 - /usr/src/lib/libpthread/sys/lock.c:254: warning: passing arg 1 of `atomic_store_rel_int' from incompatible pointer type
# [...]
# 2005-07-28 05:12:43.014253 - /usr/src/lib/libthr/thread/thr_umtx.h:56: warning: passing arg 2 of `atomic_cmpset_int' makes integer from pointer without a cast
# 2005-07-28 05:12:43.016980 - /usr/src/lib/libthr/thread/thr_umtx.h:56: warning: passing arg 3 of `atomic_cmpset_int' makes integer from pointer without a cast
# 2005-07-28 05:12:43.023050 - /usr/src/lib/libthr/thread/thr_umtx.h:65: warning: passing arg 1 of `atomic_cmpset_int' from incompatible pointer type
# 2005-07-28 05:12:43.025894 - /usr/src/lib/libthr/thread/thr_umtx.h:65: warning: passing arg 2 of `atomic_cmpset_int' makes integer from pointer without a cast
# 2005-07-28 05:12:43.028401 - /usr/src/lib/libthr/thread/thr_umtx.h:65: warning: passing arg 3 of `atomic_cmpset_int' makes integer from pointer without a cast

Are these dangerous, in any way?
Received on Thu Jul 28 2005 - 19:39:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC