Date: Wed, 05 Dec 2001 01:17:14 -0800 From: mikem <mike_makonnen@yahoo.com> To: Bernd Walter <ticso@cicely8.cicely.de> Cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.bin/vis foldit.c vis.c Message-ID: <20011205011714.5fb9098b.mike_makonnen@yahoo.com> In-Reply-To: <20011204144856.A75379@cicely8.cicely.de> References: <200112032140.fB3Le7858570@freefall.freebsd.org> <20011204144856.A75379@cicely8.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
The function was not declared (prototyped) before it was defined. On Tue, 4 Dec 2001 14:48:57 +0100 Bernd Walter <ticso@cicely8.cicely.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011205011714.5fb9098b.mike_makonnen>