Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!snorkelwacker!spdcc!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: log10(8) Message-ID: <16048@haddock.ima.isc.com> Date: 28 Feb 90 03:29:08 GMT References: <3244@servax0.essex.ac.uk> <16022@haddock.ima.isc.com> <756@s5.Morgan.COM> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Cambridge, MA 02138-5302 Lines: 10 In article <756@s5.Morgan.COM> amull@Morgan.COM (Andrew P. Mullhaupt) writes: >lint might not tell him about the tragedy unless he [specifies -lm] True (as Mark Brader also pointed out). But (a) in that case he'd still get a warning `log10 used but not defined', which is a clue, and (b) in order to get this far he has to already know about `cc -lm', and it doesn't take too much imagination to guess that lint requires the same magic as cc. (Similarly for any -D flags.) Karl W. Z. Heuer (karl@ima.ima.is.ccom or harvard!ima!karl), The Walking Lint