talchas
Prince
- Joined
- Jan 3, 2006
- Messages
- 428
Whats odd is that logMsg shouldn't be associated with any class - it shouldn't be CvUnit::logMsg (unless you want it to be). Of course, its entirely possible that I've made it be that somehow given that my knowledge of C++ is mostly based on java knowledge + a bunch of fiddling.
When you stick logMsg in the headers, do you stick it inside the "class CvUnit {...}" section? If so, that may be why its thinking that it is defined in the object.
When you stick logMsg in the headers, do you stick it inside the "class CvUnit {...}" section? If so, that may be why its thinking that it is defined in the object.