That's because CW is assuming "unsigned" meant "unsigned int", which is 16
bits, therefore :31 is illegal.  Set it up for 32 bit ints.

Alan
"Mike Margerum" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> im getting
> "Illegal bitfield decleration" in Code warrior
> in SqlLiteInt.h
> struct Token {
>   const char *z;      /* Text of the token.  Not NULL-terminated! */
>   unsigned dyn  : 1;  /* True for malloced memory, false for static */
>   unsigned n    : 31; /* Number of characters in this token */
> };
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to