Path: utzoo!utgpu!water!watmath!clyde!att!mtunx!rutgers!cmcl2!husc6!tut.cis.ohio-state.edu!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.lang.c Subject: Re: C Compiler bugs Summary: whose on first Message-ID: <15373@tut.cis.ohio-state.edu> Date: 9 Jun 88 02:14:39 GMT References: <15085@tut.cis.ohio-state.edu> <4421@haddock.ISC.COM> <8045@brl-smoke.ARPA> Organization: Ohio State Computer & Info Science Lines: 20 In article <8045@brl-smoke.ARPA>, gwyn@brl-smoke.ARPA (Doug Gwyn ) writes: >>As far as the compiler is concerned main is just another subroutine. >Ok, then it cannot complain if main is (inadvertently) declared as >returning a structure. Sure it can, as long as its only a *warning* and not an *error*. >I thought you had said that the compiler had been "fixed" so that >it did not allow the (inadvertent) declaration of main as returning >a structure that led to the run-time core dump previously reported. No, the "fixed" compiler would still compile the code, but the program wouldn't core dump on exit. I still don't know how this was accomplished ... -- Larry Cipriani, AT&T Network Systems and Ohio State University Domain: lvc@tut.cis.ohio-state.edu Path: ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!lvc (strange but true)