From owner-cvs-all Mon Jul 29 8:22:57 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17D6737B400; Mon, 29 Jul 2002 08:22:52 -0700 (PDT) Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94C2B43E42; Mon, 29 Jul 2002 08:22:51 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.5/8.12.2) with ESMTP id g6TFMpoi059765; Mon, 29 Jul 2002 08:22:51 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.5/8.12.5/Submit) id g6TFMpSH059764; Mon, 29 Jul 2002 08:22:51 -0700 (PDT) Date: Mon, 29 Jul 2002 08:22:51 -0700 From: "David O'Brien" To: Dag-Erling Smorgrav Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/fetch Makefile Message-ID: <20020729152251.GC25260@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org Mail-Followup-To: David O'Brien , Dag-Erling Smorgrav , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200207282109.g6SL9vOC093446@freefall.freebsd.org> <20020729030411.GD86944@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 29, 2002 at 10:25:08AM +0200, Dag-Erling Smorgrav wrote: > Any warning at all caused by code which is valid C99 but not valid C89 > is IMHO incorrect. > > des@des /usr/src/usr.bin/fetch% make WARNS=6 > cc -O -pipe -march=k6 -g -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wuninitialized -ansi ^^^^^ get sufficent committers to agree to change this to -std=c99 (-std=gnu99). -ansi is the same as -std=iso9899:1990 ... > cc1: warnings being treated as errors > /usr/src/usr.bin/fetch/fetch.c: In function `stat_display': > /usr/src/usr.bin/fetch/fetch.c:146: warning: ISO C89 does not support `long long' > /usr/src/usr.bin/fetch/fetch.c:146: warning: ISO C89 does not support the `ll' printf length modifier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message