नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'identifier' : bit field must have type 'int', 'signed int', or 'unsigned int'
Remarks
The base type for a bit-field is required to be int, signed int, or unsigned int.
Example
This example shows how you might encounter C2150, and how you can fix it:
// C2150.cpp
// compile with: /c
struct A {
float a : 8; // C2150
int i : 8; // OK
};