From owner-freebsd-current@FreeBSD.ORG Thu Jul 28 21:39:02 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 271C916A420 for ; Thu, 28 Jul 2005 21:39:02 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B2AF43D48 for ; Thu, 28 Jul 2005 21:38:57 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: (qmail 27342 invoked by uid 207); 28 Jul 2005 21:38:56 -0000 Received: from keramida@freebsd.org by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.19/3.81. Clear:RC:1(81.186.70.3):. Processed in 0.738839 secs); 28 Jul 2005 21:38:56 -0000 Received: from dialup3.ach.sch.gr (HELO gothmog.gr) ([81.186.70.3]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 28 Jul 2005 21:38:54 -0000 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.4/8.13.4) with ESMTP id j6SLchA2046262; Fri, 29 Jul 2005 00:38:43 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.13.4/8.13.4/Submit) id j6SLchfh046261; Fri, 29 Jul 2005 00:38:43 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Fri, 29 Jul 2005 00:38:39 +0300 From: Giorgos Keramidas To: deischen@freebsd.org, davidxu@freebsd.org, freebsd-current@freebsd.org Message-ID: <20050728213839.GA46119@gothmog.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: Subject: libthr & atomic_xxx ops X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2005 21:39:02 -0000 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?