Now I remembered you should add some timedefs to your mathlib.h too:
// copied from sdk 3.1
typedef unsigned short UInt;
typedef short Int; // >= Word (use short so MPW and CW agree)
typedef unsigned long ULong;
typedef UInt* UIntPtr;
I did that and now it works form me with the SDK3.5
Felipe
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 29, 2000 2:59 AM
To: Palm Developer Forum
Subject: Using MathLib...
Salutations!
I have just started programming using Metrowerks CodeWarrior for the Palm OS.
I am using the PalmOS3.5 SDK and I would like to use functions like pow(),
sqrt(), ceil(), floor(), etc.
I added MathLib.c in my project and MathLib.h in my source file but I came up with
3000++ errors mainly in MathLib.h file.
I went through the archive and knowledge base but they do not really give me a
detailed description. From the MathLib web page, there is this thing about loading
the library. Do I need to do this?
I am writing the float-support module for a project with different modules. The
structure
is like a common set of modules with different modules supporting different platforms.
Thank you in advance.
DSHo.
_____________________________________________________
Use email, earn rewards at http://www.helloasia.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/