Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 07-17-2009, 04:02 PM
pfyon's Avatar
pfyon
Discordant
 
Join Date: Mar 2009
Location: Ottawa
Posts: 495
Default

When trying to compile the BOTS code on ubuntu server 8.04 today, I ran into the following error(s):
Code:
bot.h:47: error: expected ';' before 'override'
bot.h:48: error: expected ';' before 'override'
bot.h:49: error: expected ';' before 'override'
bot.h:51: error: expected ';' before 'override'
bot.h:52: error: expected ';' before 'override'
which corresponds to

Code:
virtual void SetLevel(uint8 in_level, bool command = false) override;
virtual void FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho) override;
virtual bool Process() override;
//virtual void AI_Process();
virtual bool Save() override;
virtual void Depop(bool StartSpawnTimer = true) override;
After asking a friend who has lots more c++ experience than me, he suggested 'override' might be a MS only keyword, so it could be a good idea to find a cross-platform equivalence. He also noted that "once override is even removed, it can add bugs anywhere where dynamic casting is used during runtime".
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:17 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3