| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Once again I seem to be going crazy.... :) If I put the line:_______________________________________________
double x = fabs (3.4);
in a skeleton test kext it compiles and links (did not try kextload).
Yet I cannot find the function prototype anywhere: I searched the entire
kernel.framework and its not there! (Actually I searched the entire
Frameworks dir, and fabs is only in some Carbon header). But if I change
the line to:
double x = fabs (3.4, 5.6);
I get the error "too many args to fn 'double fabs(double)'". So it knows
the correct prototype somehow. I am only #including IOService.h.
How can this be? If fabs() is unavailable (which I suspect) then surely
there should be an error.
| References: | |
| >Re: missing IOLog (From: Ed Wynne <email@hidden>) | |
| >IOKit: fabs() prototype missing, yet it complies... (From: Sean McBride <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.