| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi there, I'm converting an old program from CodeWarrior Gold 10 to ProjectBuilder 2.1 (gcc 3.1) and have the thing compiling and launching fine, however when it tries to access an enumerated value inside a struct, I get the following error:
The error you posted was from GDB, not from the compiler and not from your code. I don't know why GDB can't find the vtable (or the information for your enumerated type), but it almost certainly has nothing to do with the fact that the program crashes when you run it.
The bad access signal is probably because m_ePersonType is out of range. Try adding a
printf ("%d", m_ePersonType);
immediately before that line. Also, make sure you have initialised m_ePersonType.
Does anyone have any clue about this?
My initial reaction is there is some ceiling on the size of the virtual tables allowed by gcc and I have exceeded that.
Nonesense. There may well be a limit, but I very much doubt you've hit it and in any case the problem you're having is nothing to do with the vtable.
| 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.