Keep getting the following errors, has anybody
encountered this before? Seems like a VC++ problem
somehow.
Would appreciate any help, thank you very much.
:\work\QoS\openh323proxy\ProxyTabl.h(131) : error
C2027: use of undefined type 'ProxyTable'
C:\work\QoS\openh323proxy\ProxyTabl.h(87) :
see declaration of 'ProxyTable'
C:\work\QoS\openh323proxy\ProxyTabl.h(137) : error
C2027: use of undefined type 'ProxyTable'
C:\work\QoS\openh323proxy\ProxyTabl.h(87) :
see declaration of 'ProxyTable'
C:\work\QoS\openh323proxy\ProxyTabl.h(138) : error
C2629: unexpected 'struct ProxyTable::findPtr ('
C:\work\QoS\openh323proxy\ProxyTabl.h(138) : error
C2334: unexpected token(s) preceding ':'; skipping
apparent function body
C:\work\QoS\openh323proxy\ProxyTabl.h(139) : error
C2027: use of undefined type 'ProxyTable'
C:\work\QoS\openh323proxy\ProxyTabl.h(87) :
see declaration of 'ProxyTable'
Regards,
Lee
Logged In: NO
afaik you just need to remove "ProxyTable::" from the
affected lines; Note, I'm not associated with this project
at all, i was just browsing the buglist & thought i could
help (I'm no C++ guru either, so apologies if what i'm
suggesting is wrong).
ie
struct findID
{
ProxyTableEntry::ChannelID id;
findID(const ProxyTableEntry::ChannelID & cid) : id
(cid) {};
bool operator()(
const /*ProxyTable::*/table_element_t & entry ) const
{ return (entry->getID() == id); };
};
struct findPtr
{
/*ProxyTable::*/table_element_t ptr;
findPtr(/*ProxyTable::*/table_element_t p) : ptr(p)
{};
bool operator()(
const /*ProxyTable::*/table_element_t & entry ) const
{ return (entry == ptr); };
};