Hi,
I think it should work. I put
#pragma no_register_coloring on // to turn OFF register coloring
/* the source I used for testing, placed in PilotMain*/
int i;
int j;
int k;
i = 1;
j = 2;
k = i;
k++;
return AppPalmMain (launchCode, cmdPBP, launchFlags);
at the top of my source file and it seems to work fine. Alternatively, if
you set Global Optimizations to level 0 for debug targets this will turn it
off too. Hmm, maybe it needs to be changed from '#programa' to '#pragma'?
:-)
Rgds,
Jun-Kiat Lam
Metrowerks Technical Support
----- Original Message -----
From: "D. DeVecchio" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, March 31, 2000 2:29 AM
Subject: register coloring
> How does one turn of register coloring in Code warrior R6?
>
> The manual that it comes with suggests going to a particular part of the
> preferences dialog box, the 68k processor window, but even in the
> manual's own picture of the dialog box the check box that we are
> supposed to un-check is not there.
>
> I tried putting
>
> #programa no_register_coloring off
>
>
> in my code by it doesn't recognize that programa. The manual talks in
> some detail about register coloring in two separate chapters and it
> covers the reasons why you might want to turn it off. But now that I
> need to do so, I can't find out how to do it.
>
> Any one else have this problem?
>
>
>
>
> derik
>
> email: [EMAIL PROTECTED]
>
> WWW: http://www.pobox.com/~derik
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html