Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!mmdf From: Tyler Sarna Newsgroups: comp.os.minix Subject: C Abuse Message-ID: <53940@nigel.ee.udel.edu> Date: 17 May 91 20:23:03 GMT Sender: mmdf@ee.udel.edu Lines: 28 In a recent message, Bruce Evans discussed an interesting bug in bcc that causes function declarations like foo(int bar) to have two parameters, foo and bar. I've seen C compilers that permit code like the following: long long(void *x) { ... } One can then say: foo = (long)long(long); If the compiler permits initialization of variables with non-constants, like gcc or C++ compilers (this doesn't work with GCC, it doesn't allow the first form above, and I don't know if cfront would allow it), then one could presumably say int int = (long)long(long); :-) -- Tyler "Ty" Sarna tsarna@polar.bowdoin.edu "Navy. It's not just a job, it's $98.76 a week." -SNL