teven more quieting of gcc - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 4b089276b87abeddce25231c1add5ed3b42aa040
DIR parent 029e5020e2d2dd9254418183159333a6cfe4c69c
HTML Author: rsc <devnull@localhost>
Date: Fri, 18 Mar 2005 18:50:08 +0000
even more quieting of gcc
Diffstat:
M bin/9c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/bin/9c b/bin/9c
t@@ -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