[ERROR]
Bit fields must have an integral type (or enum type for C).
struct A {
double d:1;
};
Specify an integral type (int, long, short, ...) instead of the non-integral type.