Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!sgi!davea@quasar.wpd.sgi.com From: davea@quasar.wpd.sgi.com (David B. Anderson) Newsgroups: comp.sys.sgi Subject: Re: Compiler void support under 3.2 Summary: void not completely supported under 3.2 Keywords: cc, void functions Message-ID: <46452@sgi.sgi.com> Date: 15 Dec 89 23:02:59 GMT References: <12190@phoenix.Princeton.EDU> Sender: davea@quasar.wpd.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 18 In article <12190@phoenix.Princeton.EDU>, viktor@rutabaga.Princeton.EDU (Viktor Dukhovni) writes: > The following code is incorrectly rejected by the C compiler under 3.2 [spacing removed for brevity] > void foo() { } ; void bar() { } ; > void (*z)() ; > main() { > z = bar ; > z = (1==1) ? foo : bar ; > } [commentary deleted for brevity] The problems with void and void * have been corrected in ccom for the release after 3.2. 3.2 was complete before I got around to fixing this. Sorry. Regards, [ David B. Anderson Silicon Graphics (415)335-1548 davea@sgi.com ]