Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!h2opolo.ee.lbl.gov!vern From: vern@h2opolo.ee.lbl.gov (Vern Paxson) Newsgroups: comp.lang.fortran Subject: Re: fortran lint? Summary: C's "lint" is not as restricted as stated Keywords: lint Message-ID: <235@helios.ee.lbl.gov> Date: 10 Jun 88 01:01:51 GMT References: <3835@pasteur.Berkeley.Edu> <20089@beta.UUCP> Sender: usenet@helios.ee.lbl.gov Reply-To: vern@h2opolo.ee.lbl.gov (Vern Paxson) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 17 In article <20089@beta.UUCP> jlg@beta.UUCP (Jim Giles) writes: >.... LINT will identify this as a problem, but only if the two routines >are in the same file. Seperately compiled, even LINT won't find this >error. >.... Fortran will >(or should) generate an error for SQRT(5) since the argument isn't real. >C will not generate an error (not even from LINT - SQRT is seperately >compiled). Just to keep the record straight, lint works on multiple files (and libraries) and will find both of the bugs which Jim mentions. Vern Paxson vern@lbl-csam.arpa Real Time Systems ucbvax!lbl-csam.arpa!vern Lawrence Berkeley Laboratory (415) 486-6411 Vern Paxson vern@lbl-csam.arpa Real Time Systems ucbvax!lbl-csam.arpa!vern Lawrence Berkeley Laboratory (415) 486-6411