From 4b089276b87abeddce25231c1add5ed3b42aa040 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 18 Mar 2005 18:50:08 +0000 Subject: even more quieting of gcc --- bin/9c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/9c') diff --git a/bin/9c b/bin/9c index fd555a62..a3ccd493 100755 --- a/bin/9c +++ b/bin/9c @@ -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 -- cgit v1.2.3