[6481] in Athena Bugs

home help back first fref pref prev next nref lref last post

hc warnings

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed Nov 28 12:14:03 1990

To: bugs@ATHENA.MIT.EDU
Date: Wed, 28 Nov 90 12:13:51 EST
From: John Carr <jfc@ATHENA.MIT.EDU>


hc2 warnings like

	variable "foo" is possibly referenced before set

are printed to stdout, not stderr.

repeat by:

	% cat > test.c
	int f() { int x; return x;}
	% cc -S test.c
	w "test.c",L1: Variable "x" is possibly referenced before set.
	% cc -S test.c > /dev/null
	%


home help back first fref pref prev next nref lref last post