Hi

I'm developping with codewarrior R6 using plain C

My application consists of several C files. Nothing special !?
When i call a function that is located in another file then the calling
function the parameter passing doesn't work
if one ore more of the parameters are 8bit wide.

This applies to UInt8, Int8, Boolean as well as to enums.

If I replace all 8bit types with a 16 bit type (e.g. UInt8 => UInt16, or
forcing the compiler to make enums as 16bit) everything works quite fine.

In my opinion the error can not be a typecast error since if i pass a
constant ( func( 3, ...) ) The same error occurs.

I could handle all enums by forcing them to 16bit. I also could repalce all
UInt8/Int8. But i don't want to replace all Boolean!!!!!

What is wrong? What am I doing wrong??

Thanks for any help


Alex



Sorry for cross posting, but this list seems to have lot more traffic.



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