log10(8)

Karl Heuer karl at haddock.ima.isc.com
Mon Mar 5 13:24:18 AEST 1990


In article <762 at hnm.Morgan.COM> amull at Morgan.COM (Andrew P. Mullhaupt) writes:
>In article <16048 at haddock.ima.isc.com>, karl at haddock.ima.isc.com (Karl Heuer) writes:
>>But in that case he'd still get a warning `log10 used but not defined'
>
>No. This did not happen when I used lint on Sun OS 4.??.

You're right.  I'd forgotten how hard it is to get useful information out of
BSD lint; I try to do most of my linting on my SysV machine.  Okay, having
trapped myself in the corner, I will now proceed to walk across the wet paint.

I retract most of this thread.  My original comments stand, suitably modified:
(a) lint can help diagnose the problem (provided you tell it about the
library; this is `-lm' in most versions of Unix)
(b) if you don't have lint or equivalent functionality via compiler options,
then your vendor only sold you half a C compiler.

Karl W. Z. Heuer (karl at ima.ima.isc.com or harvard!ima!karl), The Walking Lint



More information about the Comp.lang.c mailing list