Compile error May 04 2005 release

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

nincom
decaying skeleton
decaying skeleton
Posts: 4
Joined: Fri Apr 22, 2005 8:00 pm

Compile error May 04 2005 release

Post by nincom » Wed May 04, 2005 5:02 pm

I have tried compiling the new May 04 2005 release and have been getting errors. I have tried using VS6C++ with service 6 and also .NET 2003 C++. Both return the following error when trying to compile MQ2Main.dll. The following is linked from VS6C++.

Code: Select all

--------------------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
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
F:\mq2compile\MQ2\MQ2Main\MQ2Windows.cpp(836) : error C2374: 'Data' : redefinition; multiple initialization
        F:\mq2compile\MQ2\MQ2Main\MQ2Windows.cpp(819) : see declaration of 'Data'
Error executing cl.exe.

MQ2Main.dll - 1 error(s), 0 warning(s)
Any help would be appreciated

User avatar
Nyder
orc pawn
orc pawn
Posts: 14
Joined: Thu Jun 10, 2004 10:35 pm

me too with visual studio .NET

Post by Nyder » Wed May 04, 2005 6:30 pm

I also am getting the same error with vs .net.

oh, I am running XP pro with sp2 if that matters at all to you.

thanks for all the great work

Nyder

MareDK
a snow griffon
a snow griffon
Posts: 329
Joined: Mon Jan 31, 2005 12:01 pm

Post by MareDK » Wed May 04, 2005 6:52 pm

compiling and running just fine with the free MS tools, no prob here at all.

MareDK

Claritone
Cheezily Banned
Cheezily Banned
Posts: 16
Joined: Thu Jun 03, 2004 2:27 pm

Post by Claritone » Wed May 04, 2005 6:55 pm

same error

MSVC 6.0

Code: Select all

MQ2Windows.cpp
C:\Documents and Settings\Claritone\Desktop\MQ2-20050504a\MQ2Main\MQ2Windows.cpp(836) : error C2374: 'Data' : redefinition; multiple initialization
        C:\Documents and Settings\Claritone\Desktop\MQ2-20050504a\MQ2Main\MQ2Windows.cpp(819) : see declaration of 'Data'

Code: Select all

#endif
   [b]unsigned long Data=0;[/b]
#ifndef ISXEQ 
	CHAR szArg1[MAX_STRING] = {0}; 
	CHAR szArg2[MAX_STRING] = {0}; 
	CHAR szArg3[MAX_STRING] = {0}; 
	CHAR szArg4[MAX_STRING] = {0}; 

	GetArg(szArg1, szLine, 1);
	GetArg(szArg2, szLine, 2);
	GetArg(szArg3, szLine, 3);
	GetArg(szArg4, szLine, 4);

	if (!szArg3[0])
	{
		SyntaxError("Syntax: /notify <window|\"item\"> <control|0> <notification> [notification data]");
		return;
	}
	[b]unsigned long Data=0;[/b]

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 » Wed May 04, 2005 6:58 pm

Fixed.

*grumble, grumble, IS, grumble*

Claritone
Cheezily Banned
Cheezily Banned
Posts: 16
Joined: Thu Jun 03, 2004 2:27 pm

Post by Claritone » Wed May 04, 2005 7:07 pm

cheers, ty

nincom
decaying skeleton
decaying skeleton
Posts: 4
Joined: Fri Apr 22, 2005 8:00 pm

Post by nincom » Wed May 04, 2005 7:41 pm

lol thanks

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

Re: Compile error May 04 2005 release

Post by xyilla » Tue May 13, 2025 8:01 pm


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

Re: Compile error May 04 2005 release

Post by xyilla » Tue May 13, 2025 8:02 pm


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

Re: Compile error May 04 2005 release

Post by xyilla » Tue May 13, 2025 8:03 pm


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

Re: Compile error May 04 2005 release

Post by xyilla » Tue May 13, 2025 8:05 pm


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

Re: Compile error May 04 2005 release

Post by xyilla » Tue May 13, 2025 8:06 pm


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

Re: Compile error May 04 2005 release

Post by xyilla » Tue May 13, 2025 8:07 pm


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

Re: Compile error May 04 2005 release

Post by xyilla » Tue May 13, 2025 8:44 pm


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

Re: Compile error May 04 2005 release

Post by xyilla » Tue May 13, 2025 9:21 pm