- I am migrating php from 5.3 to 5.5.
- I am doing cross compilation in freebsd 7 - gcc 4.2.1
- Compiling for arm, i386 and powerpc.
a source file is not compiling. Following is the code similar the real one.
typedef struct _abc {
char *d;
size_t s;
size_t u;
uint f:1;
uint _arj:31;
}abc;
unit and other types are defined in a top header file using typedef. I added this line after the first comment.
i get error: bit-field '___arj' has invalid type
i renamed _arj to just arj and it worked. yet i have to find and replace _arj to arj in the code base.
Is there any naming convention for variables used in bit fields?