Hi All, Is there any way to direct the code warrior c compiler NOT to use the processor's A4 register for it's automatic variables? The problem I am facing is of corruption of automatic variables when I call a shared library function. One of the automatic variables in the calling function is allocated on A4 by Metrowerks C compiler and after the control returns from the shared library API of a standard product, the contents of the A4 register is changed and therefore the contents of the variable. One way to overcome this (I could think of) is to somehow make sure that Metrowerks compiler does not use A4 for its local variables (but I do not know how :-( ). Could anybody suggest some other easy way out? Pls suggest.
Thanks in advance, Mohit __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
