Export (0) Print
Expand All
Expand Minimize

Compiler Error C2332

Error Message

'typedef' : missing tag name

The compiler found an incomplete type definition.

The following sample generates 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;

Community Additions

© 2014 Microsoft