From owner-cvs-all Mon Jul 29 1:25:19 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 CBC5837B401; Mon, 29 Jul 2002 01:25:11 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 007A043E4A; Mon, 29 Jul 2002 01:25:11 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id F307C535D; Mon, 29 Jul 2002 10:25:08 +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: obrien@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/fetch Makefile References: <200207282109.g6SL9vOC093446@freefall.freebsd.org> <20020729030411.GD86944@dragon.nuxi.com> From: Dag-Erling Smorgrav Date: 29 Jul 2002 10:25:08 +0200 In-Reply-To: <20020729030411.GD86944@dragon.nuxi.com> Message-ID: Lines: 47 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-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "David O'Brien" writes: > On Sun, Jul 28, 2002 at 11:13:23PM +0200, Dag-Erling Smorgrav wrote: > > Could someone please fix WARNS level 6 so it doesn't produce bogus C89 > > compliance warnings? > Please be specific what warning it is you are getting that you feel is > not correct. 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 -pedantic -Wbad-function-cast -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c /usr/src/usr.bin/fetch/fetch.c 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 /usr/src/usr.bin/fetch/fetch.c:148: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:149: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c: In function `stat_end': /usr/src/usr.bin/fetch/fetch.c:197: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:197: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c: In function `fetch': /usr/src/usr.bin/fetch/fetch.c:336: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:336: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c:376: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:376: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:376: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c:376: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c:395: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:395: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c:398: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:398: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c:424: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:424: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:424: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c:424: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c:577: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:577: warning: ISO C89 does not support `long long' /usr/src/usr.bin/fetch/fetch.c:577: warning: ISO C89 does not support the `ll' printf length modifier /usr/src/usr.bin/fetch/fetch.c:577: warning: ISO C89 does not support the `ll' printf length modifier *** Error code 1 Stop in /usr/src/usr.bin/fetch. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message