April 30, 2005
hi,

while trying to get the log4cplus logging framework
(http://log4cplus.sourceforge.net/)
to compile with dmc (8.43) i got the following error message:

Error: stlport\_deque.h(91): size of DiagnosticContext is not known

the (simplified) code (from log4cplus/ndc.h) is:

#include <stack>

struct DiagnosticContext;
typedef std::stack<DiagnosticContext> DiagnosticContextStack;

class NDC
{
public:
	DiagnosticContextStack* getPtr() { return m_ptr; }

private:
	DiagnosticContextStack* m_ptr;
};

struct DiagnosticContext {
//	DiagnosticContext();
};

are there known issues with forward declarations ?

thanks
-- 
// Andre  -> afo <at> zlug <dot> org
//
// living on earth is expensive,but includes an annual free trip around the sun