I just created a Test app using the CW 9.3 wizard, and included mathlib. Added these two lines:
double x, y=2; x = pow(y, 2); Get this error on make: Link Error : Test.cpp: 'pow(double,double)' referenced from 'MainFormInit(FormType*)' is undefined. Project: Test.mcp, Target: Debug If I copy the pow wrap from mathlib.c into my program, and rename pow to powT, it works fine and link error goes away. I have a sample app from Garmin that used mathlib. I can add the pow functing to that with no link error. The only difference I can find is that the mathlin.c code size in the project tree for the Test app is 2002, and for the Garmin app it is 2392. Don't know what that means. Except for the handspring mathlib.c, I don't have any other on my computer. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
