From owner-freebsd-current Mon Jun 4 9:12:20 2001 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 88C5337B405 for ; Mon, 4 Jun 2001 09:12:17 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id MAA76912; Mon, 4 Jun 2001 12:12:06 -0400 (EDT) (envelope-from wollman) Date: Mon, 4 Jun 2001 12:12:06 -0400 (EDT) From: Garrett Wollman Message-Id: <200106041612.MAA76912@khavrinen.lcs.mit.edu> To: Peter Wemm Cc: current@FreeBSD.ORG Subject: Re: compiler bug or source bug? In-Reply-To: <20010604054300.1F1DE380E@overcee.netplex.com.au> References: <20010604054300.1F1DE380E@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > We could make off_t a long long on the alpha. Otherwise the formats need: > printf("%lld", (long long) pos); /* or %qd to shut up the ANSI warning */ They always need that, until printf learns about the `j' width specifier (at which time they all change to `printf("%jd", (intmax_t)pos);'). off_t is another one of those types which can be defined as absolutely any arithmetic type the implementation wishes. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message