This documentation is archived and is not being maintained.

Compiler Error C2332

'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;
}
Show: