aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-03-18 18:50:08 +0000
committerrsc <devnull@localhost>2005-03-18 18:50:08 +0000
commit4b089276b87abeddce25231c1add5ed3b42aa040 (patch)
treec60dd5d34cb6d74cafdf2ea12cd28412986f53bc /bin/9c
parent029e5020e2d2dd9254418183159333a6cfe4c69c (diff)
downloadplan9port-4b089276b87abeddce25231c1add5ed3b42aa040.tar.gz
plan9port-4b089276b87abeddce25231c1add5ed3b42aa040.tar.bz2
plan9port-4b089276b87abeddce25231c1add5ed3b42aa040.zip
even more quieting of gcc
Diffstat (limited to 'bin/9c')
-rwxr-xr-xbin/9c4
1 files changed, 2 insertions, 2 deletions
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