Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IOKit: fabs() prototype missing, yet it complies...



On Tue, 12 Mar 2002, Sean McBride wrote:

> 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.

It is declared in math.h, but it also is probably a gcc built-in, as are
most of those sorts of math functions.


Later,
David

---------------------------------------------------------------------
Check out my weekly web comic:
http://www.techmagazine.org
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >IOKit: fabs() prototype missing, yet it complies... (From: Sean McBride <email@hidden>)



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.