Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.87 KB | None | 0 0
  1.  
  2. root@:~ # cd /usr/home/styles_server/Srcs/Server/game/src
  3. root@:/usr/home/styles_server/Srcs/Server/game/src # gmake compiling BattleArena.cpp
  4. In file included from stdafx.h:42:0,
  5. from BattleArena.cpp:1:
  6. locale.hpp: In function 'std::vector<std::basic_string<char> > PackLocaleWithArgs(const char*, Args ...)':
  7. locale.hpp:37:12: error: 'class std::vector<std::basic_string<char> >' has no member named 'push_front'
  8. res_list.push_front(buf);
  9. ^
  10. In file included from BattleArena.cpp:5:0:
  11. start_position.h: In function 'const char* EMPIRE_NAME(BYTE)':
  12. start_position.h:16:33: error: too few arguments to function 'const char* LC_TEXT(const char*, LPCHARACTER)'
  13. return LC_TEXT(g_nation_name[e]);
  14. ^
  15. In file included from stdafx.h:42:0,
  16. from BattleArena.cpp:1:
  17. locale.hpp:16:14: note: declared here
  18. const char *LC_TEXT(const char *string, LPCHARACTER ch);
  19. ^
  20. In file included from horse_rider.h:5:0,
  21. from char.h:9,
  22. from BattleArena.cpp:7:
  23. cmd.h: At global scope:
  24. cmd.h:58:29: error: variable or field 'SendNotice' declared void
  25. extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  26. ^
  27. cmd.h:58:24: error: 'forward_list' is not a member of 'std'
  28. extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  29. ^
  30. cmd.h:58:53: error: expected primary-expression before '>' token
  31. extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  32. ^
  33. cmd.h:58:58: error: label 'flText' referenced outside of any function
  34. extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  35. ^
  36. cmd.h:58:66: error: expected primary-expression before 'const'
  37. extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  38. ^
  39. cmd.h:69:34: error: variable or field 'BroadcastNotice' declared void
  40. extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  41. ^
  42. cmd.h:69:29: error: 'forward_list' is not a member of 'std'
  43. extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  44. ^
  45. cmd.h:69:58: error: expected primary-expression before '>' token
  46. extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  47. ^
  48. cmd.h:69:63: error: label 'flText' referenced outside of any function
  49. extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  50. ^
  51. cmd.h:69:71: error: expected primary-expression before 'const'
  52. extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  53. ^
  54. cmd.h:80:32: error: variable or field 'SendNoticeMap' declared void
  55. extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  56. ^
  57. cmd.h:80:27: error: 'forward_list' is not a member of 'std'
  58. extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  59. ^
  60. cmd.h:80:56: error: expected primary-expression before '>' token
  61. extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  62. ^
  63. cmd.h:80:61: error: label 'flText' referenced outside of any function
  64. extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  65. ^
  66. cmd.h:80:69: error: expected primary-expression before 'int'
  67. extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  68. ^
  69. cmd.h:80:84: error: expected primary-expression before 'bool'
  70. extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  71. ^
  72. BattleArena.cpp: In function 'long int battle_arena_event(LPEVENT, long int)':
  73. 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&)'
  74. BroadcastNotice(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒ݱ▒▒▒ 5▒▒ ▒▒▒ҽ▒ϴ▒!!!"));
  75. ^
  76. 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&)'
  77. BroadcastNotice(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒ݱ▒▒▒ 1▒▒ ▒▒▒ҽ▒ϴ▒!!!"));
  78. ^
  79. 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&)'
  80. BroadcastNotice(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒ ▒▒▒▒ϱ▒ ▒▒▒▒▒߽▒ϴ▒."));
  81. ^
  82. 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&)'
  83. SendNoticeMap(PackLocaleWithArgs("▒߾▒ ▒▒ܿ▒ ▒▒▒▒ ▒▒▒▒▒ ▒𿩵▒ϴ▒."), pInfo->nMapIndex, false);
  84. ^
  85. 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&)'
  86. SendNoticeMap(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒Դϴ▒."), pInfo->nMapIndex, false);
  87. ^
  88. 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&)'
  89. SendNoticeMap(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒߽▒ϴ▒."), pInfo->nMapIndex, false);
  90. ^
  91. 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&)'
  92. SendNoticeMap(PackLocaleWithArgs("▒▒▒ ▒▒ ▒▒▒▒▒ ▒▒▒ư▒▒ϴ▒."), pInfo->nMapIndex, false);
  93. ^
  94. 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&)'
  95. SendNoticeMap(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒▒▒▒ ▒▒Ÿ▒▒▒▒ϴ▒."), pInfo->nMapIndex, false);
  96. ^
  97. 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&)'
  98. SendNoticeMap(PackLocaleWithArgs("30▒▒ ▒▒▒▒ ▒͸▒▒▒ָ▒ ▒▒▒▒▒▒▒ּ▒▒▒."), pInfo->nMapIndex, false);
  99. ^
  100. 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&)'
  101. SendNoticeMap(PackLocaleWithArgs("▒͸▒▒▒ֿ▒ ▒▒▒▒ ▒▒▒ϵ▒▒ ▒▒▒ ▒▒▒▒▒ƽ▒ϴ▒."), pInfo->nMapIndex, false);
  102. ^
  103. 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&)'
  104. SendNoticeMap(PackLocaleWithArgs("▒▒▒ ▒▒ ▒▒▒▒▒ ▒▒▒ư▒▒ϴ▒."), pInfo->nMapIndex, false);
  105. ^
  106. 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&)'
  107. SendNoticeMap(PackLocaleWithArgs("▒͸▒▒▒ְ▒ ▒▒▒Ͽ▒▒▒ϴ▒."), pInfo->nMapIndex, false);
  108. ^
  109. 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&)'
  110. SendNoticeMap(PackLocaleWithArgs("▒▒▒ ▒▒ ▒▒▒▒▒ ▒▒▒ư▒▒ϴ▒."), pInfo->nMapIndex, false);
  111. ^
  112. BattleArena.cpp: In member function 'bool CBattleArena::Start(int)':
  113. 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&)'
  114. BroadcastNotice(PackLocaleWithArgs("%s▒▒ ▒▒▒▒▒ ▒▒▒͵▒▒▒ ▒▒▒ϰ▒ ▒ֽ▒ϴ▒.", EMPIRE_NAME(m_nEmpire)));
  115. ^
  116. 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&)'
  117. BroadcastNotice(PackLocaleWithArgs("10▒▒ ▒▒ ▒▒▒ ▒▒▒▒▒ ▒▒▒▒Դϴ▒."));
  118. ^
  119. gmake: *** [Makefile:198: .obj/BattleArena.o] Error 1
  120. root@:/usr/home/styles_server/Srcs/Server/game/src #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement