Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::General Support

Archive::General Support Archive area for General Support's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
  #1  
Old 06-09-2003, 06:49 PM
Guest
 
Posts: n/a
Default Errors in compiling

I am having problems compiling spells.cpp, it refuses to compile it... here is the error text:
Quote:
Compiling...
spells.cpp
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(3871) : error C2601: 'CheckBuffs' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(3887) : error C2601: 'CheckPet' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(3902) : error C2601: 'FindSpell' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4200) : error C2601: 'CanUse' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4210) : error C2601: 'FindBuff' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4219) : error C2601: 'IsEffectInSpell' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4230) : error C2601: 'FindType' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4259) : error C2601: 'GetBuffSlotFromType' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4276) : error C2601: 'AddProcToWeapon' : local function definitions are illegal
C:\Documents and Settings\Leigh E. Shryock\Desktop\EQEMu-0.4.3-Source\EQEMu-0.4.3-Source\zone\spells.cpp(4310) : error C2601: 'RemoveProcFromWeapon' : local function definitions are illegal
Error executing cl.exe.

spells.obj - 10 error(s), 0 warning(s)
I didn't make any changes to those sections, it just refuses to compile them, everything else is fine, the parts that I edited compile, but, those sections won't, i'm using VC++ 6, btw
  #2  
Old 06-09-2003, 07:10 PM
Zern
Sarnak
 
Join Date: Nov 2002
Posts: 35
Default

You're missing a single or several } or ) somewhere.
  #3  
Old 06-09-2003, 07:14 PM
Guest
 
Posts: n/a
Default

I don't see how, everything is exactly the same except for what I changed, which was a small area, and MANY lines above that...
  #4  
Old 06-09-2003, 07:21 PM
Zern
Sarnak
 
Join Date: Nov 2002
Posts: 35
Default

Look at the top ... the #includes more than likely include the bugged source file missing the single or several ) or }'s

:P
  #5  
Old 06-10-2003, 12:15 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

You said the magic word though . 'CHANGED'

Post what you changed. I'm fairly sure thats where the problem is going to be introduced.

Are you saying out of the box, with 0 chnages in the file, you get compile errors, or only after you make changes to it?

If it is broken for you out of the box, try to pull down and compile the CVS code.
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
 


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 12:14 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