Fun with void under Ultrix

Chris Siebenmann cks at white.toronto.edu
Fri Aug 18 13:40:58 AEST 1989


+ Script started on Thu Aug 17 22:24:12 1989
+ sneezy.white 2> cat test.c
+ foo()
+ {
+ 	void	*a = 0;
+ 	if (a)
+ 		printf("oops\n");
+ }
+ sneezy.white 3> cc -c -O test.c
+ "test.c", line 5: a undefined
+ sneezy.white 6> exit
+ script done on Thu Aug 17 22:24:41 1989

 I wouldn't mind cc not supporting void, but I get a tad bit annoyed
when it drops void declarations into the bitbucket without telling
anyone. I guess I'll just tell people to use gcc.

[Tested on both Ultrix 2.2 and 3.1]
-- 
	"I shall clasp my hands together and bow to the corners of the world."
			Number Ten Ox, "Bridge of Birds"
Chris Siebenmann		...!utgpu!{ncrcan,ontmoh!moore}!ziebmef!cks
cks at white.toronto.edu	     or ...!utgpu!{,csri!}cks



More information about the Comp.unix.ultrix mailing list