Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!jarthur!uci-ics!gateway From: rfg@paris.ics.uci.edu (Ronald Guilmette) Newsgroups: comp.lang.c++ Subject: cfront 2.0 bug 900209_01 Message-ID: <25DA6291.21779@paris.ics.uci.edu> Date: 15 Feb 90 08:04:33 GMT Organization: UC Irvine Department of ICS Lines: 17 // cfront 2.0 bug 900209_01 // Cfront does not appear to understand that a name which is a typedef // name and which has been defined to be equivalent to void is in fact // the same as void. In particular, cfront gives errors on return statements // which do not have expressions even when the return type declared for the // containing function is a typedef name which was defined as void. typedef void void_t; void_t function_0 () { return; // gets bogus error } int main () { return 0; }