mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
silence gcc chatter
This commit is contained in:
parent
f0fb9c573e
commit
7637c81af0
1 changed files with 1 additions and 0 deletions
1
bin/9c
1
bin/9c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue