Dec 19, 2012 at 12:04pm Dec 19, 2012 at 12:04pm UTC
The error message usually names the variable that has incomplete type. So show the full error message.
I think that the problem is that the compiler does not see the full definition of CXMLString . You included only the declaration
class CXMLString;
but the compiler requires the definition.
Or it looks like the declaration
class CXMLString;
hides the previous declaration of the same class. It is possible if they are in different scopes.
Or some compilers distinguish class and struct keywords. Check what keyword the definition of CXMLString uses.
Last edited on Dec 19, 2012 at 12:13pm Dec 19, 2012 at 12:13pm UTC
Dec 19, 2012 at 12:44pm Dec 19, 2012 at 12:44pm UTC
yeah sorry! it was in a different namespace.. included that and its working fine..
thanks!