Compile errors on 12/30 zip, vc6

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

fantum409
a ghoul
a ghoul
Posts: 141
Joined: Fri Nov 14, 2003 10:03 pm

Compile errors on 12/30 zip, vc6

Post by fantum409 » Thu Dec 30, 2004 6:30 pm

--------------------Configuration: MQ2Main - Win32 Release--------------------
Compiling...
EQClasses.cpp
MQ2Auth.cpp
MQ2Benchmarks.cpp
MQ2ChatHook.cpp
MQ2CleanUI.cpp
MQ2CommandAPI.cpp
MQ2Commands.cpp
MQ2Data.cpp
MQ2DataAPI.cpp
MQ2DataTypes.cpp
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1571) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1604) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1619) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1652) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1655) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1659) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1663) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1667) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1719) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1765) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1845) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1872) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1922) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1979) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1983) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1987) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2017) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2054) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2088) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2092) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2096) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2100) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2104) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2108) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2112) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2116) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2144) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2196) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2200) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2208) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2222) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2232) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(2246) : error C2360: initialization of 'nBuff' is skipped by 'case' label
c:\tempbuild\mq2build\MQ2Main\MQ2DataTypes.cpp(1564) : see declaration of 'nBuff'
MQ2DataVars.cpp
MQ2DetourAPI.cpp
MQ2DInput.cpp
MQ2Globals.cpp
MQ2KeyBinds.cpp
MQ2MacroCommands.cpp
MQ2Main.cpp
EQLIB_EXPORTS
MQ2Mouse.cpp
MQ2ParseAPI.cpp
MQ2PluginHandler.cpp
MQ2Pulse.cpp
MQ2Spawns.cpp
MQ2Utilities.cpp
MQ2Windows.cpp
Error executing cl.exe.

MQ2Main.dll - 33 error(s), 0 warning(s)
/cringes
yes, still havent upgraded my VS6... dialup sucks, what can I say.

MQ2 rocks

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Thu Dec 30, 2004 8:13 pm

Code: Select all

diff -u -r1.19 -r1.20
--- MQ2DataTypes.cpp    30 Dec 2004 22:07:03 -0000      1.19
+++ MQ2DataTypes.cpp    31 Dec 2004 01:12:09 -0000      1.20
@@ -1141,7 +1141,8 @@

        int nLang = 0;
        char buf[MAX_STRING]  = {0};
-       char buf2[MAX_STRING] = {0};
+       unsigned long nBuff;
+        char buf2[MAX_STRING] = {0};

        switch((CharacterMembers)pMember->ID)
        {
@@ -1561,7 +1562,7 @@
                                if (pChar->AAList[j].AAIndex == 0)   break;
                        }
                } else Dest.DWord = 15;
-               for (unsigned long nBuff=0 ; nBuff<20 ; nBuff++)
+               for (nBuff=0 ; nBuff<20 ; nBuff++)
                {
                        if (pChar->Buff[nBuff].SpellID>0)
                        Dest.DWord--;

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Thu Dec 30, 2004 9:06 pm

Thanks DKAA, took me a min to figure it out, but I did.

Anyone know where I can find Tribal Text editor? Doing this shit in notepad sucks ass.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Thu Dec 30, 2004 9:15 pm

I'd use VIM or UltraEdit if you don't have VS.

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Thu Dec 30, 2004 9:29 pm

I have VS, I just liked Tribal, it had line numbers, and was so very easy to use. I should have had a copy of the install on disk. I end up rebuilding my system so often (Format and full reinstalls).
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

User avatar
Cr4zyb4rd
Plugins Czar
Posts: 1449
Joined: Tue Jul 20, 2004 11:46 am

Post by Cr4zyb4rd » Thu Dec 30, 2004 11:04 pm

ieat is wise. vim and ultraedit are both damn good, and vim's syntax highlighting is godly

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Thu Dec 30, 2004 11:25 pm

I actually found on my storage HD a copy of the zip for Tribal, so I'm happy!
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

Post by Amadeus » Fri Dec 31, 2004 2:23 am

Fixed ...new zip going up (20041231)

...I hate all of you that don't have VS.net yet. :?

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Fri Dec 31, 2004 5:36 am

Sorry Ama, I can't afford it, yet.
Maybe sometime in the newyear?
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Compile errors on 12/30 zip, vc6

Post by xyilla » Fri Mar 14, 2025 12:16 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Compile errors on 12/30 zip, vc6

Post by xyilla » Fri Mar 14, 2025 12:18 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Compile errors on 12/30 zip, vc6

Post by xyilla » Fri Mar 14, 2025 12:19 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Compile errors on 12/30 zip, vc6

Post by xyilla » Fri Mar 14, 2025 12:20 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Compile errors on 12/30 zip, vc6

Post by xyilla » Fri Mar 14, 2025 12:21 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Compile errors on 12/30 zip, vc6

Post by xyilla » Fri Mar 14, 2025 12:22 am