Problem
Running lint against my C program returns a warning if math.h is included:
math.h (as included in foo.c)
=================
(174) warning: function actually returns double: _nanf
(449) warning: function actually returns double: nanf Solution
There is no functionality problem with nanf/_nanf and the warning can be safely ignored.
This has been reported to SCO Engineering and appears fixed in later releases of UnixWare7 and OpenServer6.
NOTES: When using "lint" on OpenServer6, ensure /usr/tmp exists with
permissions 1755 first.