| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 18/08/2003 09:00, Nicholas Shanks <email@hidden> wrote:
printf ("%d", m_ePersonType);
Turned out to be that CodeWarrior used chars for enums and gcc used a
long. The initaliser was putting 0x08000000 into the value instead of
0x00000008, and was consequently out of bounds on the array. It looks
like I have a large number of enums like this being both read and
written to deal with :/
This is not portable: printf("%d", enumValue);
| References: | |
| >Re: Virtual table problems - Solved, but new problem arisen (From: Mike Kluev <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.