This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Obj-C Bug
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Obj-C Bug
- From: alex at orderfusion dot com
- Date: Sat, 19 Aug 2000 17:38:44 -0700
- Reply-To: "Alex Raftis" <alex at orderfusion dot com>
Doing the following:
typedef enum _enumeration {
First,
Second,
Third
} Enumerator;
@interface SomeObject : Object
{
struct _bitField {
Enumerator field:2;
BOOL flag:1;
unsigned _reserved:29;
} bitField;
}
@end
Will cause the compiler to generate:
Internal compiler error in `encode_complete_bitfield', at
./objc/objc-act.c:6914
However, the above will work in Enumerator is just declared as unsigned.
Alex Raftis
---
alex@orderfusion.com