silence gcc chatter

This commit is contained in:
rsc 2005-02-12 16:48:46 +00:00
parent f0fb9c573e
commit 7637c81af0

1
bin/9c
View file

@ -59,6 +59,7 @@ xtmp=/tmp/9c.$$.$USER.out
$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" >$xtmp 2>&1
status=$?
grep -v '__p9l_autolib_' $xtmp |
egrep -v ': error: .Each undeclared identifier|: error: for each function it appears' |
sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g'
rm -f $xtmp $xtmp.status
exit $status