From owner-freebsd-sparc Wed Apr 24 19:31:57 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 7A1E937B419 for ; Wed, 24 Apr 2002 19:31:53 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3P2UuYm019486; Wed, 24 Apr 2002 19:30:56 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.2/Submit) id g3P2TfOY018600; Wed, 24 Apr 2002 19:29:41 -0700 (PDT) Date: Wed, 24 Apr 2002 19:29:40 -0700 From: "David O'Brien" To: Garance A Drosihn Cc: sparc64@FreeBSD.ORG Subject: Re: hosted-gcc_20020419.tar.bz2 uploaded Message-ID: <20020424192940.B35128@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020420194116.A92671@dragon.nuxi.com> <20020422135153.A50570@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from drosih@rpi.edu on Mon, Apr 22, 2002 at 05:58:56PM -0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Apr 22, 2002 at 05:58:56PM -0400, Garance A Drosihn wrote: > |_ ../ctlinfo.c:231: warning: void format, cjobinfo arg (arg 3) > |_ ../ctlinfo.c:231: warning: void format, cjprivate arg (arg 4) > > Apparently it wants %p to be used with (void *) or (char *), and not > (struct blahblah *). If I cast those parameters to (void *) then the > warning goes away. Is that a change I should make? Yes. > Why does it care > what it's a pointer to, as long as it's a pointer to data? Because not all pointers are potentially the same. > |_ ../net.c:278: warning: pointer of type `void *' used in arithmetic > > Should va_arg() be changed? You (the port) may not be using the proper va_args header. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message