Condividi tramite


Errore del compilatore C2332

'typedef': nome tag mancante

Osservazioni:

Il compilatore ha trovato una definizione di tipo incompleta.

Example

L'esempio seguente genera l'errore C2332:

// C2332.cpp
// compile with: /c
struct S {
   int i;
};

typedef struct * pS;   // C2332
typedef struct S* pS;   // OK

int get_S_i(pS p) {
   return p->i;
}