even more quieting of gcc

This commit is contained in:
rsc 2005-03-18 18:50:08 +00:00
parent 029e5020e2
commit 4b089276b8

4
bin/9c
View file

@ -59,7 +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|: In function `|: At top level: ' |
sed 's/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g'
egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|: In function `|: At top level:' |
sed 's/ .first use in this function.$//; s/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g'
rm -f $xtmp $xtmp.status
exit $status