From owner-cvs-all Wed Dec 5 5:19:27 2001 Delivered-To: cvs-all@freebsd.org Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by hub.freebsd.org (Postfix) with ESMTP id C9FF737B416 for ; Wed, 5 Dec 2001 05:19:23 -0800 (PST) Received: from blackbox.pacbell.net ([64.166.86.109]) by mta7.pltn13.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0GNV00MAN5IWAI@mta7.pltn13.pbi.net> for cvs-all@freebsd.org; Wed, 05 Dec 2001 01:11:51 -0800 (PST) Received: (from mikem@localhost) by blackbox.pacbell.net (8.11.6/8.11.6) id fB59HEZ14050; Wed, 05 Dec 2001 01:17:14 -0800 (PST envelope-from mikem) Date: Wed, 05 Dec 2001 01:17:14 -0800 From: mikem Subject: Re: cvs commit: src/usr.bin/vis foldit.c vis.c In-reply-to: <20011204144856.A75379@cicely8.cicely.de> To: Bernd Walter Cc: cvs-all@freebsd.org Message-id: <20011205011714.5fb9098b.mike_makonnen@yahoo.com> MIME-version: 1.0 X-Mailer: Sylpheed version 0.6.5 (GTK+ 1.2.10; i386--freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <200112032140.fB3Le7858570@freefall.freebsd.org> <20011204144856.A75379@cicely8.cicely.de> 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 The function was not declared (prototyped) before it was defined. On Tue, 4 Dec 2001 14:48:57 +0100 Bernd Walter wrote: > On Mon, Dec 03, 2001 at 01:40:07PM -0800, David Malone wrote: > > dwmalone 2001/12/03 13:40:07 PST > > > > Modified files: > > usr.bin/vis foldit.c vis.c > > Log: > > Some warns cleanups - I think this is still not warns clean on the alpha. > > > > Revision Changes Path > > 1.5 +2 -1 src/usr.bin/vis/foldit.c > > 1.7 +7 -6 src/usr.bin/vis/vis.c > > WARNS= 2: > ticso@cicely9# make > Warning: Object directory not changed from original /var/d6/FreeBSD-test/src/usr.bin/vis > cc -O -pipe -mcpu=ev56 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c vis.c > cc -O -pipe -mcpu=ev56 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c foldit.c > cc1: warnings being treated as errors > foldit.c:46: warning: function declaration isn't a prototype > *** Error code 1 > > Stop in /var/d6/FreeBSD-test/src/usr.bin/vis. > Exit 1 > > without WARNS: > ticso@cicely9# make > Warning: Object directory not changed from original /var/d6/FreeBSD-test/src/usr.bin/vis > cc -O -pipe -mcpu=ev56 -c foldit.c > cc -O -pipe -mcpu=ev56 -o vis vis.o foldit.o > gzip -cn vis.1 > vis.1.gz > > It doesn't look like an alpha specific warning. > If I remove -Wstrict-prototypes and -Wmissing-prototypes from the > warnings it compiles on -alpha. > > Just in case it's related - my system is -current from 3.9.2001. > > -- > B.Walter COSMO-Project http://www.cosmo-project.de > ticso@cicely.de Usergroup info@cosmo-project.de > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe cvs-all" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message