Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2007, 05:28 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default Linux FC4 Compile Error

As of the latest build, there is an error compiling on Linux FC4 (EQEmu 992 does not have the same problem on the same OS).

Code:
spell_effects.cpp:776: error: expected `)` before `spell`
The line of code is:
Code:
snprintf(effect_desc, _EDLEN, "Summon %s: %s", (effect==SE_Familiar)?"Familiar":"Pet" spell.teleport_zone);
And the fix (appears to be) adding a comma before "spell.teleport_zone":
Code:
snprintf(effect_desc, _EDLEN, "Summon %s: %s", (effect==SE_Familiar)?"Familiar":"Pet", spell.teleport_zone);
Reply With Quote
  #2  
Old 10-17-2007, 02:49 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Or just delete that whole line.. it's a debug line that KLS left in and isn't needed for anything beyond that.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #3  
Old 10-18-2007, 03:08 PM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

I'll add this into the server code. Thanks for it.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
  #4  
Old 10-18-2007, 05:01 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

odd, I recall commiting that with comma intact (as it compiled for me before I commited and don't recall touching it between that time and commit).

But yeah the line is also non essential and just used for debugging purposes, delete it or add the comma till it's fixed.
Reply With Quote
  #5  
Old 10-18-2007, 05:40 PM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

This has been committed to the server code repository. Thank you for your contribution.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
Reply


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 02:00 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3