errors to stderr
This commit is contained in:
parent
14f06f6792
commit
3b8f0b79d7
1 changed files with 7 additions and 1 deletions
8
bin/9c
8
bin/9c
|
|
@ -28,6 +28,12 @@ case "$tag" in
|
||||||
cflags="$ngflags -g3 -no-cpp-precomp" ;;
|
cflags="$ngflags -g3 -no-cpp-precomp" ;;
|
||||||
*HP-UX*) cc=cc; cflags="-g -O -c -Ae" ;;
|
*HP-UX*) cc=cc; cflags="-g -O -c -Ae" ;;
|
||||||
*Linux*) usegcc
|
*Linux*) usegcc
|
||||||
|
case "${CC9:-gcc}" in
|
||||||
|
tcc)
|
||||||
|
cc=tcc
|
||||||
|
cflags="-c -g"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
case "${SYSVERSION:-`uname -r`}" in
|
case "${SYSVERSION:-`uname -r`}" in
|
||||||
2.6.*)
|
2.6.*)
|
||||||
cflags="$cflags -D__Linux26__"
|
cflags="$cflags -D__Linux26__"
|
||||||
|
|
@ -63,6 +69,6 @@ status=$?
|
||||||
grep -v '__p9l_autolib_' $xtmp |
|
grep -v '__p9l_autolib_' $xtmp |
|
||||||
egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|: In function `|: At top level:' |
|
egrep -v ': error: .Each undeclared identifier|: error: for each function it appears|: 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
|
uniq 1>&2
|
||||||
rm -f $xtmp $xtmp.status
|
rm -f $xtmp $xtmp.status
|
||||||
exit $status
|
exit $status
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue