Path: utzoo!attcan!uunet!husc6!rutgers!mailrus!cornell!batcomputer!sun.soe.clarkson.edu!jk0 From: jk0@sun.soe!clutx.clarkson.edu (Jason Coughlin,221 Rey,,) Newsgroups: comp.sys.ibm.pc Subject: Re: TC2.0 bugfree ? Message-ID: <2041@sun.soe.clarkson.edu> Date: 22 Jan 89 21:34:28 GMT References: <537@cs-spool.calgary.UUCP> Sender: news@sun.soe.clarkson.edu Reply-To: jk0@sun.soe!clutx.clarkson.edu.UUCP Lines: 26 From article <537@cs-spool.calgary.UUCP>, by andrews@calgary.UUCP (Keith Andrews): > Nevertheless, Turbo C likes to make noises about practically everything else, > I wonder they don't issue warnings about this? > I compiled something like this with Turbo C and 4.2 BSD cc: int hello(c) char c; { switch (c) { case 'a': .... return (b*a); case 'b': .... return (b*c); } } This is JUST an example, but TC didn't give me ANY warnings, but 4.2 BSD figured out that my simple return at the end of the function was inconsistent. >I wonder why they don't issue warnings like this? -- Jason Coughlin (jk0@clutx, jk0@clutx.clarkson.edu)