Ok, the problem seems to be my approach to the problem.
I have several classes that are crossreferencing each other via pointers.
What i do:
1. Include "common.h" header.
2. Declare a class in a header file and use the pointers to other classes declared in "common.h".
3. Add in "common.h" header the typedef for a pointer to the new class :
What is happening is that when i try to dynamically create a new class, i get the 2514 error (class has no cosntructors). It wasn't related to NamedNodeMap as i previously thought. So, each time i try to use the following:
i get the error...
I hope i was clearer this time.
Thank you all!
Nosferatu
We are what we eat...
There's no such thing as free meal...
I have several classes that are crossreferencing each other via pointers.
What i do:
1. Include "common.h" header.
2. Declare a class in a header file and use the pointers to other classes declared in "common.h".
3. Add in "common.h" header the typedef for a pointer to the new class :
Code:
typedef class myClass * PmyClass;
What is happening is that when i try to dynamically create a new class, i get the 2514 error (class has no cosntructors). It wasn't related to NamedNodeMap as i previously thought. So, each time i try to use the following:
Code:
PmyClass pc = new myClass(something);
I hope i was clearer this time.
Thank you all!
Nosferatu
We are what we eat...
There's no such thing as free meal...