From 746d2e1ab0f68f4f932b7c98b43ece3aacc37e88 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 14 Feb 2006 19:38:15 +0000 Subject: adapt to gcc error messages --- bin/9c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/9c') diff --git a/bin/9c b/bin/9c index f29d664e..a19c7378 100755 --- a/bin/9c +++ b/bin/9c @@ -67,7 +67,7 @@ xtmp=/tmp/9c.$$.$USER.out $cc -DPLAN9PORT -I$PLAN9/include $cflags "$@" 2>$xtmp status=$? 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' | uniq 1>&2 rm -f $xtmp $xtmp.status -- cgit v1.2.3