From owner-freebsd-current Wed Jul 10 14:58:57 2002 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 4DEBA37B400; Wed, 10 Jul 2002 14:58:52 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFBFB43E31; Wed, 10 Jul 2002 14:58:51 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 4E2E6534B; Wed, 10 Jul 2002 23:58:50 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Bruce Evans Cc: Giorgos Keramidas , Subject: Re: sparc64 tinderbox failure References: <20020711071853.J21320-100000@gamplex.bde.org> From: Dag-Erling Smorgrav Date: 10 Jul 2002 23:58:49 +0200 In-Reply-To: <20020711071853.J21320-100000@gamplex.bde.org> Message-ID: Lines: 28 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Bruce Evans writes: > The main bug is that the warning is emitted. err(1, NULL) is perfectly > valid (see err(4)). Apparently the sparc64 compiler is missing support > for __printf0like. Strangely, my Alpha (July 3 -CURRENT) complains about this too, but my i386 (June 24 -CURRENT) doesn't. Here's my test program: #include int main(void) { printf(NULL); return 0; } on Alpha, I get des@dsa ~% gcc -Wformat -c /tmp/format.c /tmp/format.c: In function `main': /tmp/format.c:6: warning: null format string on i386, I don't get a warning. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message