Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Catid's Biller + MingW - methods was not declared in scope

 
Post new topic   Reply to topic Printable version
 View previous topic  how does a server send you redirect re... Post :: Post compiler issues  View next topic  
Author Message
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Jan 02, 2014 12:12 am    Post subject: Catid's Biller + MingW - methods was not declared in scope Reply to topic Reply with quote

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?
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Thu Jan 02, 2014 1:19 am    Post subject: Reply to topic Reply with quote

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.
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Non-Subspace Related Coding All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 224 page(s) served in previous 5 minutes.

phpBB Created this page in 0.460952 seconds : 27 queries executed (94.9%): GZIP compression disabled