The following restrictions apply to bit variables and bit declarations:
A bit cannot be declared as a pointer. For example:
bit *ptr; /* invalid */
An array of type bit is invalid. For example:
bit ware [5]; /* invalid */
Functions that disable interrupts (#pragma disable) and functions that are declared using an explicit register bank (using n) cannot return a bit value. The Cx51 Compiler generates an error message for functions of this type that attempt to return a bit type.