C1104: Bit field type is neither integral nor enum type

[ERROR]

Description

Bit fields must have an integral type (or enum type for C).

Example
  struct A {

  
    double d:1;

  
  };

  
Tips

Specify an integral type (int, long, short, ...) instead of the non-integral type.