EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=616)
-   -   Errors in compiling (https://www.eqemulator.org/forums/showthread.php?t=7848)

06-09-2003 06:49 PM

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

Zern 06-09-2003 07:10 PM

You're missing a single or several } or ) somewhere.

06-09-2003 07:14 PM

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...

Zern 06-09-2003 07:21 PM

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

:P

Trumpcard 06-10-2003 12:15 AM

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.


All times are GMT -4. The time now is 12:42 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.