Compiler Error C2275

'identifier' : illegal use of this type as an expression

The expression used the class member access operator (->) on the specified typedef identifier.

The following is an example of this error:

typedef struct S
{
    int mem;
} *S_t;
void func1( int *parm );
void func2()
{
    func1( &S_t->mem );   // error: S_t is a typedef
}