"Andy Olsen" <[EMAIL PROTECTED]> wrote in message
news:67559@palm-dev-forum...
>
> I am trying to use normal C float and int types. I am converting
integers to
> floats and vice versa. When I compile, I get the following link
errors:
>
> Link Error   : SomeFile.cpp: '_f_itof' referenced from 'FunctionX' is
> undefined.
> Link Error   : SomeFile.cpp: '_f_div' referenced from 'FunctionX' is
> undefined.
> Link Error   : SomeFile.cpp: '_f_mul' referenced from 'FunctionX' is
> undefined.
> Link Error   : SomeFile.cpp: '_f_ftoi' referenced from 'FunctionX' is
> undefined.
> Link Error   : SomeFile.cpp: '_f_add' referenced from 'FunctionX' is
> undefined.
> ...
> Link Error   : Link aborted - Too many errors.
>
> I am using CodeWarrior 8.0 for development. Why is the standard float
type
> functionality missing. Am I missing a library for these functions? Do
I need
> to set a compiler flag to indicate that I am using float types?

I replied to Andy directly.  He had converted an old project that had
the "Floating Point" setting wrong.  Going to the "68K Processor" pref
panel and hitting "Factory Settings" reset things to work correctly,
giving him proper FP code generation.



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

Reply via email to