aboutsummaryrefslogtreecommitdiff
path: root/bin/9c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-12-06 15:34:59 -0800
committerRuss Cox <rsc@swtch.com>2008-12-06 15:34:59 -0800
commiteb1392208cead07e9e413b5ad4dbd82069d87c30 (patch)
treedd80327a32bcecced9aaf99f7a5d324e43d71ee7 /bin/9c
parentc1b1466e95fc469f1de84e3d41e72ca2ef676e44 (diff)
downloadplan9port-eb1392208cead07e9e413b5ad4dbd82069d87c30.tar.gz
plan9port-eb1392208cead07e9e413b5ad4dbd82069d87c30.tar.bz2
plan9port-eb1392208cead07e9e413b5ad4dbd82069d87c30.zip
9c: another gcc, another useless warning
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 fe6776c0..327f1670 100755
--- a/bin/9c
+++ b/bin/9c
@@ -73,7 +73,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:|support .long long.|In file included from| from|use of C99 long long|ISO C forbids conversion|Cursor. is deprecated' |
+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:|support .long long.|In file included from| from|use of C99 long long|ISO C forbids conversion|Cursor. is deprecated|warn_unused_result' |
sed 's/ .first use in this function.$//; s/\"\([^\"][^\"]*\)\", line \([0-9][0-9]*\)/\1:\2/g' |
uniq 1>&2
rm -f $xtmp $xtmp.status