Pierre Brial wrote:
I wish to use the built-in float math library of prc-tools.
I have noticed there is a mathf.h in the m68k-palmos\include directory.
So I put #include<mathf.h> in my program, but when compiling I've got
the following error messages for some functions :

"conflicting types for built-in function "cos" "
(the same for "sin", etc...)

What is wrong ?

sin, cos, etc are standard C functions which the C specification says should take and return double. But the header says they take and return float. Warning messages *should* be disabled in system headers, so this sounds like a bug in the prc-tools config.

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to