lint question
Joe Garvey
garvey at johnny5.uucp
Tue Apr 23 14:57:36 AEST 1991
I've created my own lint library. In it are math functions and string
functions.
However, when writing a program that only uses the string functions,
lint complains that various trig functions aren't defined because
I haven't included the math library.
How do I explain to lint... "I'm sorry dear, I'm not using the math functions
in the library, so I don't need to include it... and you shouldn't complain
about it"?
I've checked the man page, and the Nutshell "Lint" handbook (possibly an older
edition, I've had it a while)... and I still don't have a clue.
I have included /*LINTLIBRARY*/ in both the math and string modules that
make up the library.
I had this library on an HP (HPUX 7.0 / HP9000/370) and don't ever remember
having this problem, I'm moving it to a Sun (SunOS 4.1/ SS1+) now. Could that
be it?
--
Joe Garvey uucp: sumax!quick!johnny5!garvey
J5 Research map entries are wrong for johnny5. They're
Bothell, Wa. being fixed. Please use address above.
More information about the Comp.unix.programmer
mailing list