[EMAIL PROTECTED] wrote:
Here's a simple example of the problem:UInt16 A; main() { UInt16 *B; B = &A; } The address of B is 0x00e2a524. The address of A as 0x00b5604e. B has the value of 0x00e5604c. Why is B 0x00e5604c and not 0x00b5604e??? I'm got getting any compile warnings.
How did you check the content of your variables? Any smart compiler would just skip the B = &A; assingment, as B is never used...
Regards Henk -- ------------------------------------------------------------------------- Henk Jonas [EMAIL PROTECTED] Palm OS ® certified developer Please contact me, if you need an off-site contract worker. ------------------------------------------------------------------------- -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
