libthr & atomic_xxx ops
Giorgos Keramidas
keramida at freebsd.org
Thu Jul 28 21:39:02 GMT 2005
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?
More information about the freebsd-current
mailing list