adapt to gcc error messages
This commit is contained in:
parent
a4b2187729
commit
746d2e1ab0
1 changed files with 1 additions and 1 deletions
2
bin/9c
2
bin/9c
|
|
@ -67,7 +67,7 @@ xtmp=/tmp/9c.$$.$USER.out
|
||||||
$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" 2>$xtmp
|
$cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" 2>$xtmp
|
||||||
status=$?
|
status=$?
|
||||||
grep -v '__p9l_autolib_' $xtmp |
|
grep -v '__p9l_autolib_' $xtmp |
|
||||||
egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|is dangerous, better use|is almost always misused|: In function `|: At top level:' |
|
egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|is dangerous, better use|is almost always misused|: In function |: At top level:' |
|
||||||
sed 's/ .first use in this function.$//; s/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' |
|
sed 's/ .first use in this function.$//; s/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' |
|
||||||
uniq 1>&2
|
uniq 1>&2
|
||||||
rm -f $xtmp $xtmp.status
|
rm -f $xtmp $xtmp.status
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue