log10(8)

Karl Heuer karl at haddock.ima.isc.com
Wed Feb 28 14:29:08 AEST 1990


In article <756 at s5.Morgan.COM> amull at 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 at ima.ima.is.ccom or harvard!ima!karl), The Walking Lint



More information about the Comp.lang.c mailing list