k then can you help me pls with this error messages:
Code:
make linux
gcc -O6 -march=i686 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -s -DNDEBUG -Wall -Wno-unknown-pragmas -DOPT_TYPE=\"optimized\" -Dstrcmpi=strcasecmp -fPIC -I../curl/include -I. -I../../metamod/metamod -I../../hlsdk/multiplayer/engine -I../../hlsdk/multiplayer/common -I../../hlsdk/multiplayer/pm_shared -I../../hlsdk/multiplayer/dlls -I../../hlsdk/multiplayer -Iextra/include -o obj.linux/meta_api.o -c meta_api.cpp
In file included from ../../hlsdk/multiplayer/dlls/extdll.h:83,
from meta_api.cpp:32:
../../hlsdk/multiplayer/engine/eiface.h:524:8: warning: extra tokens at end of #endif directive
In file included from amxmodx.h:39,
from meta_api.cpp:34:
CMisc.h: In constructor `ForceObject::ForceObject(const char*, FORCE_TYPE,
Vector&, Vector&, AMX*)':
CMisc.h:158: warning: `ForceObject::maxs' will be initialized after
CMisc.h:154: warning: `AMX*ForceObject::amx'
CMisc.h:161: warning: when initialized here
In file included from amxmodx.h:41,
from meta_api.cpp:34:
CModule.h: At global scope:
CModule.h:76: error: template-argument `AMX_NATIVE_INFO*' uses anonymous type
CModule.h:76: error: ISO C++ forbids declaration of `natives' with no type
In file included from amxmodx.h:42,
from meta_api.cpp:34:
CTask.h: In constructor `CTaskMngr::iterator::iterator(CTaskMngr::CTask*,
CTaskMngr*)':
CTask.h:111: warning: `CTaskMngr::iterator::a' will be initialized after
CTask.h:110: warning: `CTaskMngr*CTaskMngr::iterator::b'
CTask.h:113: warning: when initialized here
In file included from amxmodx.h:43,
from meta_api.cpp:34:
CLogEvent.h: In constructor `LogEventsMngr::CLogEvent::LogCond::LogCond(int,
LogEventsMngr::CLogEvent::LogCondEle*, LogEventsMngr::CLogEvent::LogCond*)':
CLogEvent.h:100: warning: `LogEventsMngr::CLogEvent::LogCond::argnum' will be
initialized after
CLogEvent.h:99: warning: `
LogEventsMngr::CLogEvent::LogCondEle*LogEventsMngr::CLogEvent::LogCond::list
'
CLogEvent.h:102: warning: when initialized here
CLogEvent.h: In constructor `
LogEventsMngr::CLogEvent::CLogEvent(CPluginMngr::CPlugin*, int,
LogEventsMngr*)':
CLogEvent.h:108: warning: `LogEventsMngr::CLogEvent::filters' will be
initialized after
CLogEvent.h:107: warning: `LogEventsMngr*LogEventsMngr::CLogEvent::parent'
CLogEvent.h:110: warning: when initialized here
CLogEvent.h: In constructor `
LogEventsMngr::iterator::iterator(LogEventsMngr::CLogEvent*, LogEventsMngr*)
':
CLogEvent.h:148: warning: `LogEventsMngr::iterator::a' will be initialized
after
CLogEvent.h:147: warning: `LogEventsMngr*LogEventsMngr::iterator::b'
CLogEvent.h:150: warning: when initialized here
In file included from amxmodx.h:45,
from meta_api.cpp:34:
CCmd.h: In constructor `CmdMngr::CmdPrefix::CmdPrefix(const char*, CmdMngr*)':
CCmd.h:104: warning: `CmdMngr::CmdPrefix::name' will be initialized after
CCmd.h:103: warning: `CmdMngr*CmdMngr::CmdPrefix::parent'
CCmd.h:107: warning: when initialized here
In file included from amxmodx.h:47,
from meta_api.cpp:34:
CEvent.h:155:31: warning: no newline at end of file
In file included from meta_api.cpp:34:
amxmodx.h: At global scope:
amxmodx.h:225: error: non-local function `int add_amxnatives(module_info_s*,
AMX_NATIVE_INFO*)' uses anonymous type
amx.h:123: error: `typedef struct <anonymous> AMX_NATIVE_INFO' does not refer
to the unqualified type, so it is not used for linkage
meta_api.cpp: In function `void MessageBegin_Post(int, int, const float*,
edict_t*)':
meta_api.cpp:726: warning: initialization to `int' from `float'
meta_api.cpp:726: warning: argument to `int' from `float'
make: *** [obj.linux/meta_api.o] Fehler 1