Date: Fri, 29 Jul 2005 00:38:39 +0300 From: Giorgos Keramidas <keramida@freebsd.org> To: deischen@freebsd.org, davidxu@freebsd.org, freebsd-current@freebsd.org Subject: libthr & atomic_xxx ops Message-ID: <20050728213839.GA46119@gothmog.gr>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050728213839.GA46119>