Path: utzoo!utgpu!jarvis.csri.toronto.edu!daemon Newsgroups: comp.unix.ultrix From: cks@white.toronto.edu (Chris Siebenmann) Subject: Fun with void under Ultrix Message-ID: <89Aug17.222844edt.30797@snow.white.toronto.edu> Sender:Organization: Ziebmef home away from home Date: 18 Aug 89 03:40:58 GMT + 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@white.toronto.edu or ...!utgpu!{,csri!}cks