Hi,
I was not able to compile a c file in g++ due to some forward declaration limitations.THe same setup is compiling in other compilers.
So can anyone help me in resolving this issue.
The erros i got is as follows
n file included from ./inc/LOGInterface.h:32,
from ./DDMSDBAMgr.h:13,
from ./txTask.h:10,
from txTask.C:18:
/vobs/sdm/base/base/inc/slghgen.h:58:2: warning: #warning This header file is depricated in C++ code. For more info, see slghgen.h.
In file included from ./txTask.h:10,
from txTask.C:18:
./DDMSDBAMgr.h: In constructor `DDMSDBAgentManager<TxIdType, ClientIdType>:

DMSDBAgentManager(TxMgrTask*, int, int)':
./DDMSDBAMgr.h:221: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h:222: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h:223: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h:225: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h:228: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::startMinimumDBAgents()':
./DDMSDBAMgr.h:257: error: incomplete type `TxMgrTask' used in nested name specifier
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::startADBAgent()':
./DDMSDBAMgr.h:276: error: invalid use of undefined type `struct TxMgrTask'
./DDMSDBAMgr.h:16: error: forward declaration of `struct TxMgrTask'
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::addDBA(const DDMSSessionKey&)':
./DDMSDBAMgr.h:366: error: `TxPending' undeclared (first use this function)
./DDMSDBAMgr.h:366: error: (Each undeclared identifier is reported only once for each function it appears in.)
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::removeDBA(const DDMSSessionKey&)':
./DDMSDBAMgr.h:394: error: invalid use of undefined type `struct TxMgrTask'
./DDMSDBAMgr.h:16: error: forward declaration of `struct TxMgrTask'
./DDMSDBAMgr.h:397: error: invalid use of undefined type `struct DDMSTxInfo'
./DDMSDBAMgr.h:17: error: forward declaration of `struct DDMSTxInfo'
./DDMSDBAMgr.h:398: error: invalid use of undefined type `struct TxMgrTask'
./DDMSDBAMgr.h:16: error: forward declaration of `struct TxMgrTask'
./DDMSDBAMgr.h: In member function `virtual void DDMSDBAgentManager<TxIdType, ClientIdType>::removeDBA(int)':
./DDMSDBAMgr.h:433: error: invalid use of undefined type `struct TxMgrTask'