Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 14:41:33 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        Jim Pirzyk <Jim.Pirzyk@disney.com>
Cc:        <freebsd-current@FreeBSD.ORG>
Subject:   Re: chgrp broken on alpha systems
Message-ID:  <20010703143647.G29024-100000@wonky.feral.com>
In-Reply-To: <01070314303203.18554@snoopy>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010703143647.G29024-100000>