Raised This Month: $51 Target: $400
 12% 

After formatting my computer - errors


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
anxiro
Member
Join Date: Jan 2005
Old 03-13-2005 , 17:50   After formatting my computer - errors
Reply With Quote #1

Hi,

I had to format my computer. I lost everything áfter I tried to burn it on CD. Now i am rebuilding my adminmod, but after a try of compile I get these errors:

Code:
--------------------Configuration: serverplugin_empty - Win32 Release--------------------
Compiling...
serverplugin_empty.cpp
..\..\public\vgui/MessageMap.h(64) : error C2485: 'align' : unrecognized extended attribute
..\..\public\vgui/MessageMap.h(64) : error C2059: syntax error : '('
..\..\public\vector4d.h(144) : error C2485: 'align' : unrecognized extended attribute
..\..\public\vector4d.h(144) : error C2059: syntax error : '('
E:\TestMod\serverplugin_empty.cpp(175) : error C2371: 'gameeventmanager' : redefinition; different basic types
        ..\..\dlls\enginecallback.h(41) : see declaration of 'gameeventmanager'
E:\TestMod\serverplugin_empty.cpp(364) : error C2440: '=' : cannot convert from 'class IGameEventManager *' to 'class IGameEventManager2 *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\TestMod\serverplugin_empty.cpp(403) : error C2664: 'RemoveListener' : cannot convert parameter 1 from 'class CEmptyServerPlugin *const ' to 'class IGameEventListener2 *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\TestMod\serverplugin_empty.cpp(484) : error C2660: 'AddListener' : function does not take 2 parameters
E:\TestMod\serverplugin_empty.cpp(1269) : error C2664: 'RemoveListener' : cannot convert parameter 1 from 'class CEmptyServerPlugin *const ' to 'class IGameEventListener2 *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
E:\TestMod\serverplugin_empty.cpp(11138) : warning C4309: '=' : truncation of constant value
Error executing cl.exe.

serverplugin_empty.dll - 9 error(s), 1 warning(s)
After a while with beginning over and over *again* I have these 2:
Code:
..\..\public\vgui/MessageMap.h(64) : error C2485: 'align' : unrecognized extended attribute
..\..\public\vgui/MessageMap.h(64) : error C2059: syntax error : '('

Weird, because I never had this error before.
I need good help

Thnx,
Frank Weima
anxiro is offline
Send a message via ICQ to anxiro
Cr3V3TT3
Senior Member
Join Date: Jul 2004
Location: V'dauban
Old 03-14-2005 , 11:26  
Reply With Quote #2

use the game event manager 2

see my post on :

http://forums.alliedmods.net/showthread.php?t=37352

if you done that do you get an error from an outputs property?
Cr3V3TT3 is offline
Send a message via MSN to Cr3V3TT3
vancelorgin
Senior Member
Join Date: Dec 2004
Location: san frandisco
Old 03-14-2005 , 21:52  
Reply With Quote #3

WTF @ LINE 11138
__________________
Avoid like the plague.
vancelorgin is offline
anxiro
Member
Join Date: Jan 2005
Old 03-15-2005 , 12:52  
Reply With Quote #4

yea now ur saying. WTF lol ^^. And btw i will test it now.
anxiro is offline
Send a message via ICQ to anxiro
anxiro
Member
Join Date: Jan 2005
Old 03-15-2005 , 13:01  
Reply With Quote #5

It is werid. Still the same error in util.h at the part:

Code:
//-----------------------------------------------------------------------------
// Here's where we add all those lovely SSE optimized routines
//-----------------------------------------------------------------------------

#ifdef _WIN32
class __declspec(align(16)) VectorAligned : public Vector
#elif _LINUX
class __attribute__((aligned(16))) VectorAligned : public Vector
#endif
{
public:
	inline VectorAligned(void) {};
	inline VectorAligned(vec_t X, vec_t Y, vec_t Z) 
	{
		Init(X,Y,Z);
	}

#ifdef VECTOR_NO_SLOW_OPERATIONS

private:
	// No copy constructors allowed if we're in optimal mode
	VectorAligned(const VectorAligned& vOther);

#endif
};


Quote:
e:\sourcemod\serverplugin empty\[sdk]\src\public\vector.h(245) : error C2485: 'align' : unrecognized extended attribute
e:\sourcemod\serverplugin empty\[sdk]\src\public\vector.h(245) : error C2059: syntax error : '('


eeehm?? now what?
anxiro is offline
Send a message via ICQ to anxiro
Reply



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 05:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode