From owner-freebsd-arch Wed Oct 9 10:33:32 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDB9537B401 for ; Wed, 9 Oct 2002 10:33:31 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AD5F43E65 for ; Wed, 9 Oct 2002 10:33:31 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id NAA23894; Wed, 9 Oct 2002 13:33:30 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g99HX0954344; Wed, 9 Oct 2002 13:33:00 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15780.26700.615985.133379@grasshopper.cs.duke.edu> Date: Wed, 9 Oct 2002 13:33:00 -0400 (EDT) To: Peter Wemm Cc: freebsd-arch@FreeBSD.ORG Subject: Re: lp64 vs lp32 printf In-Reply-To: <20021009173106.9D1862A88D@canning.wemm.org> References: <20021009161756.E4040-100000@gamplex.bde.org> <20021009173106.9D1862A88D@canning.wemm.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Wemm writes: > > > > Um, using intmax_t to print size_t's would be incorrect, since it is > > signed. Using uintmax_t would be bloat. Very few typedefed types > > need the full bloat of [u]intmax_t, and size_t is unlikely to become > > one of them before casting it to uintmax_t to print it becomes a style > > bug in the kernel too (when %z is implemented). > > Bring it on! The sooner %z gets here the better. The only problem is that > gcc has been taught that %z means something different in the kernel. :-( Where is gcc taught these things? Can we update it? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message