tsilence gcc chatter - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 7637c81af02c49ef508b946dfdec39f757a658d4 (DIR) parent f0fb9c573e5e8ef31b82ba7b5f48d9e54280882e (HTM) Author: rsc <devnull@localhost> Date: Sat, 12 Feb 2005 16:48:46 +0000 silence gcc chatter Diffstat: M bin/9c | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- (DIR) diff --git a/bin/9c b/bin/9c t@@ -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