I'm really confused. I don't know C++, but this doesn't look right to me.
In sys/src/co/gco10.h there is what looks to be a definition of
OmsSimDumpCollector:
class AFX_EXT_CLASS OmsSimDumpCollector {
public:
virtual void printf(const char *fmt, ...) = 0;
virtual const char* str() const = 0;
virtual void flush() = 0;
inline operator const char *() const { return str(); }
};
The same thing is in hco00.h:
class AFX_EXT_CLASS OmsSimDumpCollector {
public:
virtual void printf(const char *fmt, ...) = 0;
virtual const char* str() const = 0;
virtual void flush() = 0;
inline operator const char *() const { return str(); }
};
Is this correct? If so, why?
The reason I'm asking is that I'm trying to emulate the patch for vin97.h
that Wolfgang put in to fix the problem with printf having a conflicting
definition. I'm having problems doing that because I don't understand what
other modules really call these functions so I don't know which .cpp files
go with what .h files and on and on.
Help!!
Mark Post
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general