PDA

View Full Version : 'ndx' compilation error


samandhi
01-31-2004, 12:12 PM
Not sure if this is a bug or what, but thought I would post it here.. I am using 0.5.3 DR 3, and everything seems to be working correctly (other than the known bugs listed), but when I go to compile it I get this error:

Deleting intermediate files and output files for project 'Zone - Win32 GuildWars Debug'.
--------------------Configuration: Zone - Win32 GuildWars Debug--------------------
Compiling...
attack.cpp
client.cpp
client_process.cpp
command.cpp
doors.cpp
entity.cpp
EQEMuError.cpp
faction.cpp
forage.cpp
groups.cpp
hate_list.cpp
loottables.cpp
Map.cpp
mob.cpp
MobAI.cpp
net.cpp
npc.cpp
Object.cpp
parser.cpp
petitions.cpp
PlayerCorpse.cpp
spawn2.cpp
spawngroup.cpp
spells.cpp
F:\EqEmu\emulator\zone\spells.cpp(1511) : error C2374: 'ndx' : redefinition; multiple initialization
F:\EqEmu\emulator\zone\spells.cpp(1508) : see declaration of 'ndx'
worldserver.cpp
zone.cpp
zonedbasync.cpp
classes.cpp
crc32.cpp
database.cpp
dbasync.cpp
dbcore.cpp
DBMemLeak.cpp
debug.cpp
EMuShareMem.cpp
EQNetwork.cpp
eqtime.cpp
guilds.cpp
Item.cpp
md5.cpp
misc.cpp
MiscFunctions.cpp
moremath.cpp
Mutex.cpp
packet_dump.cpp
packet_dump_file.cpp
packet_functions.cpp
races.cpp
serverinfo.cpp
TCPConnection.cpp
timer.cpp
Error executing cl.exe.

Zone.exe - 1 error(s), 0 warning(s)

Anyone have any ideas what this will affect, or if it is just a simple code error? As I said, it doesnt SEEM to be affecting anything, though doing a "find" in spells.cpp I see it has something to do with resists. I can run the server, and play on it and other people can also, and havent seen where it is making inything not function.

[edit] never mind I found the answer to my own question. If anyone is interested and has the same thing happening, AND just doesnt feel like searching for a long time here (http://www.eqemulator.net/forums/viewtopic.php?t=12641&highlight=ndx) is the thread that has the answer.