Compiler Warning (level 4) C4214
nonstandard extension used : bit field types other than int
With the default Microsoft extensions (/Ze), bitfield structure members can be of any integer type.
Example
// C4214.c
// compile with: /W4
struct bitfields
{
unsigned short j:4; // C4214
};
int main()
{
}
Such bit fields are invalid under ANSI compatibility (/Za).
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for