Server Help

Non-Subspace Related Coding - Catid's Biller + MingW - methods was not declared in scope

CypherJF - 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
Code: Show/Hide

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:
Code: Show/Hide


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":

Code: Show/Hide

class Host
{
   /* Handlers */
   //....
   friend bool HandleSpecial         (PacketStruct * Packet);   // Privelaged types



But the body of this anonymous structure is globally defined in rpc.h

Code: Show/Hide

bool HandleSpecial         (PacketStruct * Packet)
{
   //.. omitted ...
}



Does it imply that these special structures need to be defined with a Host qualifier on them?
CypherJF - Thu Jan 02, 2014 1:19 am
Post subject:
Will mention apparently the code base will pretty much compile just fine using VS 2013 Express; minor changes necessary to comply with newer version of C++ standards. But no issues with the anonymous structure.

I'd still be interested in understanding the root issue with the gcc/MingW version of the compiler.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group