Condividi tramite


Errore del compilatore C2033

'identifier': il campo di bit non può avere riferimenti indiretti

Remarks

Il campo di bit è stato dichiarato come puntatore, ma non è consentito.

Example

L'esempio seguente genera l'errore C2033:

// C2033.cpp
struct S {
   int *b : 1;  // C2033
};

Possible resolution:

// C2033b.cpp
// compile with: /c
struct S {
   int b : 1;
};