From owner-freebsd-current Tue Jul 3 14:43: 4 2001 Delivered-To: freebsd-current@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id 1AA1637B409 for ; Tue, 3 Jul 2001 14:42:57 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from wonky.feral.com (wonky.feral.com [192.67.166.7]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id f63LfaS06872; Tue, 3 Jul 2001 14:41:36 -0700 (PDT) (envelope-from mjacob@feral.com) Date: Tue, 3 Jul 2001 14:41:33 -0700 (PDT) From: Matthew Jacob Reply-To: To: Jim Pirzyk Cc: Subject: Re: chgrp broken on alpha systems In-Reply-To: <01070314303203.18554@snoopy> Message-ID: <20010703143647.G29024-100000@wonky.feral.com> 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 Hmm. Somebody must have cranked some C compilation up enough to turn warnings into errors. If I check out chkgrp into /tmp now on a system that's currently trying to update itself, I get: yorp.feral.com > make Warning: Object directory not changed from original /tmp/src/usr.sbin/chkgrp cc -O -pipe -mcpu=ev4 -c chkgrp.c chkgrp.c: In function `main': chkgrp.c:76: warning: passing arg 2 of `fgetln' from incompatible pointer type cc -O -pipe -mcpu=ev4 -o chkgrp chkgrp.o gzip -cn chkgrp.8 > chkgrp.8.gz Gee, I wonder who's turned this on for userland? The only thing these are on for is the kernel- and even that isn't -Werror. On Tue, 3 Jul 2001, Jim Pirzyk wrote: > The current version go chkgrp does not compile under alpha systems > > grep FreeBSD chkgrp.c > "$FreeBSD: src/usr.sbin/chkgrp/chkgrp.c,v 1.5 2001/06/24 12:38:28 des Exp > $"; > > ===> usr.sbin/chkgrp > cc -nostdinc -O -pipe -mcpu=ev4 -mcpu=ev4 > -I/usr/obj/usr/src/alpha/usr/include -W -Wall -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -Wreturn-type > -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -c > /usr/src/usr.sbin/chkgrp/chkgrp.c > cc1: warnings being treated as errors > /usr/src/usr.sbin/chkgrp/chkgrp.c: In function `main': > /usr/src/usr.sbin/chkgrp/chkgrp.c:76: warning: passing arg 2 of `fgetln' from > incompatible pointer type > *** Error code 1 > > - JimP > > -- > --- @(#) $Id: dot.signature,v 1.10 2001/05/17 23:38:49 Jim.Pirzyk Exp $ > __o Jim.Pirzyk@disney.com ------------- pirzyk@freebsd.org > _'\<,_ Senior Systems Engineer, Walt Disney Feature Animation > (*)/ (*) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message