Compiler Warning (level 2) C4150

deletion of pointer to incomplete type 'type'; no destructor called

The delete operator was called to delete the given type, which was declared but not defined. The compiler was unable to find any destructors for the given type.

Make sure that the class, structure, or union is defined before using the delete operator.

The following example generates this warning:

class  IncClass;
void   NoDestruct( IncClass* pIncClass )
  {   delete pIncClass;   }