C1021: Bit field type is not 'int'

[ERROR]

Description

Another type than 'int' was used for the bitfield declaration. Some Back Ends may support non-int bitfields, but only if the Compiler switch -Ansi is not given.

Example
  struct {

  
    char b:1;

  
  } S;

  
Tips

Use int type for bitfields or remove the -Ansi from the Compiler options.

Seealso