Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - problems with forward declarations
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 Apr 30 2005
|