aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-02-14 19:38:15 +0000
committerrsc <devnull@localhost>2006-02-14 19:38:15 +0000
commit746d2e1ab0f68f4f932b7c98b43ece3aacc37e88 (patch)
treeabc641e6a0fdf7d88aa44adbfd89cd5feb5a5dfc /bin/9c
parenta4b2187729f7c9f3da0f0e28dd590758e9065a5d (diff)
downloadplan9port-746d2e1ab0f68f4f932b7c98b43ece3aacc37e88.tar.gz
plan9port-746d2e1ab0f68f4f932b7c98b43ece3aacc37e88.tar.bz2
plan9port-746d2e1ab0f68f4f932b7c98b43ece3aacc37e88.zip
adapt to gcc error messages
Diffstat (limited to 'bin/9c')
-rwxr-xr-xbin/9c2
1 files changed, 1 insertions, 1 deletions
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