Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@:~ # cd /usr/home/styles_server/Srcs/Server/game/src
- root@:/usr/home/styles_server/Srcs/Server/game/src # gmake compiling BattleArena.cpp
- In file included from stdafx.h:42:0,
- from BattleArena.cpp:1:
- locale.hpp: In function 'std::vector<std::basic_string<char> > PackLocaleWithArgs(const char*, Args ...)':
- locale.hpp:37:12: error: 'class std::vector<std::basic_string<char> >' has no member named 'push_front'
- res_list.push_front(buf);
- ^
- In file included from BattleArena.cpp:5:0:
- start_position.h: In function 'const char* EMPIRE_NAME(BYTE)':
- start_position.h:16:33: error: too few arguments to function 'const char* LC_TEXT(const char*, LPCHARACTER)'
- return LC_TEXT(g_nation_name[e]);
- ^
- In file included from stdafx.h:42:0,
- from BattleArena.cpp:1:
- locale.hpp:16:14: note: declared here
- const char *LC_TEXT(const char *string, LPCHARACTER ch);
- ^
- In file included from horse_rider.h:5:0,
- from char.h:9,
- from BattleArena.cpp:7:
- cmd.h: At global scope:
- cmd.h:58:29: error: variable or field 'SendNotice' declared void
- extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:58:24: error: 'forward_list' is not a member of 'std'
- extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:58:53: error: expected primary-expression before '>' token
- extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:58:58: error: label 'flText' referenced outside of any function
- extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:58:66: error: expected primary-expression before 'const'
- extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:69:34: error: variable or field 'BroadcastNotice' declared void
- extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:69:29: error: 'forward_list' is not a member of 'std'
- extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:69:58: error: expected primary-expression before '>' token
- extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:69:63: error: label 'flText' referenced outside of any function
- extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:69:71: error: expected primary-expression before 'const'
- extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
- ^
- cmd.h:80:32: error: variable or field 'SendNoticeMap' declared void
- extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
- ^
- cmd.h:80:27: error: 'forward_list' is not a member of 'std'
- extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
- ^
- cmd.h:80:56: error: expected primary-expression before '>' token
- extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
- ^
- cmd.h:80:61: error: label 'flText' referenced outside of any function
- extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
- ^
- cmd.h:80:69: error: expected primary-expression before 'int'
- extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
- ^
- cmd.h:80:84: error: expected primary-expression before 'bool'
- extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
- ^
- BattleArena.cpp: In function 'long int battle_arena_event(LPEVENT, long int)':
- BattleArena.cpp:104:81: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void BroadcastNotice(const char*, BYTE, const int&)'
- BroadcastNotice(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒ݱ▒▒▒ 5▒▒ ▒▒▒ҽ▒ϴ▒!!!"));
- ^
- BattleArena.cpp:115:82: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void BroadcastNotice(const char*, BYTE, const int&)'
- BroadcastNotice(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒ݱ▒▒▒ 1▒▒ ▒▒▒ҽ▒ϴ▒!!!"));
- ^
- BattleArena.cpp:129:82: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void BroadcastNotice(const char*, BYTE, const int&)'
- BroadcastNotice(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒ ▒▒▒▒ϱ▒ ▒▒▒▒▒߽▒ϴ▒."));
- ^
- BattleArena.cpp:155:103: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("▒߾▒ ▒▒ܿ▒ ▒▒▒▒ ▒▒▒▒▒ ▒▒ϴ▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp:168:103: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒Դϴ▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp:185:100: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒߽▒ϴ▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp:186:93: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("▒▒▒ ▒▒ ▒▒▒▒▒ ▒▒▒ư▒▒ϴ▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp:216:98: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒▒▒▒ ▒▒Ÿ▒▒▒▒ϴ▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp:217:101: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("30▒▒ ▒▒▒▒ ▒▒▒▒ָ▒ ▒▒▒▒▒▒▒ּ▒▒▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp:232:111: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("▒▒▒▒ֿ▒ ▒▒▒▒ ▒▒▒ϵ▒▒ ▒▒▒ ▒▒▒▒▒ƽ▒ϴ▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp:233:94: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("▒▒▒ ▒▒ ▒▒▒▒▒ ▒▒▒ư▒▒ϴ▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp:249:94: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("▒▒▒▒ְ▒ ▒▒▒Ͽ▒▒▒ϴ▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp:250:94: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void SendNoticeMap(const char*, int, bool, const int&)'
- SendNoticeMap(PackLocaleWithArgs("▒▒▒ ▒▒ ▒▒▒▒▒ ▒▒▒ư▒▒ϴ▒."), pInfo->nMapIndex, false);
- ^
- BattleArena.cpp: In member function 'bool CBattleArena::Start(int)':
- BattleArena.cpp:284:105: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void BroadcastNotice(const char*, BYTE, const int&)'
- BroadcastNotice(PackLocaleWithArgs("%s▒▒ ▒▒▒▒▒ ▒▒▒͵▒▒▒ ▒▒▒ϰ▒ ▒ֽ▒ϴ▒.", EMPIRE_NAME(m_nEmpire)));
- ^
- BattleArena.cpp:285:71: error: cannot convert 'std::vector<std::basic_string<char> >' to 'const char*' for argument '1' to 'void BroadcastNotice(const char*, BYTE, const int&)'
- BroadcastNotice(PackLocaleWithArgs("10▒▒ ▒▒ ▒▒▒ ▒▒▒▒▒ ▒▒▒▒Դϴ▒."));
- ^
- gmake: *** [Makefile:198: .obj/BattleArena.o] Error 1
- root@:/usr/home/styles_server/Srcs/Server/game/src #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement