CypherJF I gargle nitroglycerin
Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Thu Jan 02, 2014 12:12 am Post subject: Catid's Biller + MingW - methods was not declared in scope |
|
|
|
|
I'm trying to recompile Catid's biller using the latest version of Orwells Dev-C++, having gotten past the assembly notation, there are errors I'm not really sure how to approach to solve.
In declares.h
C:\Continuum\SSBiller\Pub_Biller2\declares.h In member function 'void Host::ClearHandlers()':
1880 29 C:\Continuum\SSBiller\Pub_Biller2\declares.h [Error] 'HandleSpecial' was not declared in this scope
|
Which refers to:
class Host {
//...
public:
//...
void ClearHandlers()
{
Router.ClearHandlers();
Router.RegisterHandler(0, HandleSpecial);
}
|
And there are several more like it.
HandleSpecial is defined in the "Host" class":
class Host
{
/* Handlers */
//....
friend bool HandleSpecial (PacketStruct * Packet); // Privelaged types
|
But the body of this anonymous structure is globally defined in rpc.h
bool HandleSpecial (PacketStruct * Packet)
{
//.. omitted ...
}
|
Does it imply that these special structures need to be defined with a Host qualifier on them? _________________ Performance is often the art of cheating carefully. - James Gosling |
|