SHARE
TWEET

Untitled

a guest Jan 18th, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@:~ # cd /usr/home/styles_server/Srcs/Server/game/src
  2. root@:/usr/home/styles_server/Srcs/Server/game/src # gmake
  3. compiling BattleArena.cpp
  4. In file included from stdafx.h:42:0,
  5.                  from BattleArena.cpp:1:
  6. locale.hpp:28:1: error: 'forward_list' in namespace 'std' does not name a type
  7.  std::forward_list<std::string> PackLocaleWithArgs(const char * lc_arg, Args... args)
  8.  ^
  9. In file included from BattleArena.cpp:5:0:
  10. start_position.h: In function 'const char* EMPIRE_NAME(BYTE)':
  11. start_position.h:16:33: error: too few arguments to function 'const char* LC_TEXT(const char*, LPCHARACTER)'
  12.   return LC_TEXT(g_nation_name[e]);
  13.                                  ^
  14. In file included from stdafx.h:42:0,
  15.                  from BattleArena.cpp:1:
  16. locale.hpp:15:14: note: declared here
  17.   const char *LC_TEXT(const char *string, LPCHARACTER ch);
  18.               ^
  19. In file included from horse_rider.h:5:0,
  20.                  from char.h:9,
  21.                  from BattleArena.cpp:7:
  22. cmd.h: At global scope:
  23. cmd.h:58:29: error: variable or field 'SendNotice' declared void
  24.  extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  25.                              ^
  26. cmd.h:58:24: error: 'forward_list' is not a member of 'std'
  27.  extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  28.                         ^
  29. cmd.h:58:53: error: expected primary-expression before '>' token
  30.  extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  31.                                                      ^
  32. cmd.h:58:58: error: label 'flText' referenced outside of any function
  33.  extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  34.                                                           ^
  35. cmd.h:58:66: error: expected primary-expression before 'const'
  36.  extern void SendNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  37.                                                                   ^
  38. cmd.h:69:34: error: variable or field 'BroadcastNotice' declared void
  39.  extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  40.                                   ^
  41. cmd.h:69:29: error: 'forward_list' is not a member of 'std'
  42.  extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  43.                              ^
  44. cmd.h:69:58: error: expected primary-expression before '>' token
  45.  extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  46.                                                           ^
  47. cmd.h:69:63: error: label 'flText' referenced outside of any function
  48.  extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  49.                                                                ^
  50. cmd.h:69:71: error: expected primary-expression before 'const'
  51.  extern void BroadcastNotice(std::forward_list<std::string> && flText, const BYTE bType = CHAT_TYPE_NOTICE);
  52.                                                                        ^
  53. cmd.h:80:32: error: variable or field 'SendNoticeMap' declared void
  54.  extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  55.                                 ^
  56. cmd.h:80:27: error: 'forward_list' is not a member of 'std'
  57.  extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  58.                            ^
  59. cmd.h:80:56: error: expected primary-expression before '>' token
  60.  extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  61.                                                         ^
  62. cmd.h:80:61: error: label 'flText' referenced outside of any function
  63.  extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  64.                                                              ^
  65. cmd.h:80:69: error: expected primary-expression before 'int'
  66.  extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  67.                                                                      ^
  68. cmd.h:80:84: error: expected primary-expression before 'bool'
  69.  extern void SendNoticeMap(std::forward_list<std::string> && flText, int nMapIndex, bool bBigFont);
  70.                                                                                     ^
  71. BattleArena.cpp: In function 'long int battle_arena_event(LPEVENT, long int)':
  72. BattleArena.cpp:104:80: error: 'PackLocaleWithArgs' was not declared in this scope
  73.       BroadcastNotice(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒ݱ▒▒▒ 5▒▒ ▒▒▒ҽ▒ϴ▒!!!"));
  74.                                                                                 ^
  75. BattleArena.cpp:115:81: error: 'PackLocaleWithArgs' was not declared in this scope
  76.        BroadcastNotice(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒ݱ▒▒▒ 1▒▒ ▒▒▒ҽ▒ϴ▒!!!"));
  77.                                                                                  ^
  78. BattleArena.cpp:129:81: error: 'PackLocaleWithArgs' was not declared in this scope
  79.       BroadcastNotice(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒ ▒▒▒▒ϱ▒ ▒▒▒▒▒߽▒ϴ▒."));
  80.                                                                                  ^
  81. BattleArena.cpp:155:77: error: 'PackLocaleWithArgs' was not declared in this scope
  82.        SendNoticeMap(PackLocaleWithArgs("▒߾▒ ▒▒ܿ▒ ▒▒▒▒ ▒▒▒▒▒ ▒𿩵▒ϴ▒."), pInfo->nMapIndex, false);
  83.                                                                              ^
  84. BattleArena.cpp:168:77: error: 'PackLocaleWithArgs' was not declared in this scope
  85.         SendNoticeMap(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒▒▒▒ ▒▒▒▒ ▒▒▒Դϴ▒."), pInfo->nMapIndex, false);
  86.                                                                              ^
  87. BattleArena.cpp:185:74: error: 'PackLocaleWithArgs' was not declared in this scope
  88.       SendNoticeMap(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒▒▒▒▒▒ ▒▒▒▒▒߽▒ϴ▒."), pInfo->nMapIndex, false);
  89.                                                                           ^
  90. BattleArena.cpp:216:72: error: 'PackLocaleWithArgs' was not declared in this scope
  91.       SendNoticeMap(PackLocaleWithArgs("▒▒▒͵▒▒▒ ▒▒▒▒▒▒ ▒▒Ÿ▒▒▒▒ϴ▒."), pInfo->nMapIndex, false);
  92.                                                                         ^
  93. BattleArena.cpp:232:85: error: 'PackLocaleWithArgs' was not declared in this scope
  94.        SendNoticeMap(PackLocaleWithArgs("▒͸▒▒▒ֿ▒ ▒▒▒▒ ▒▒▒ϵ▒▒ ▒▒▒ ▒▒▒▒▒ƽ▒ϴ▒."), pInfo->nMapIndex, false);
  95.                                                                                      ^
  96. BattleArena.cpp:249:68: error: 'PackLocaleWithArgs' was not declared in this scope
  97.        SendNoticeMap(PackLocaleWithArgs("▒͸▒▒▒ְ▒ ▒▒▒Ͽ▒▒▒ϴ▒."), pInfo->nMapIndex, false);
  98.                                                                     ^
  99. BattleArena.cpp: In member function 'bool CBattleArena::Start(int)':
  100. BattleArena.cpp:284:104: error: 'PackLocaleWithArgs' was not declared in this scope
  101.   BroadcastNotice(PackLocaleWithArgs("%s▒▒ ▒▒▒▒▒ ▒▒▒͵▒▒▒ ▒▒▒ϰ▒ ▒ֽ▒ϴ▒.", EMPIRE_NAME(m_nEmpire)));
  102.                                                                                                         ^
  103. gmake: *** [Makefile:198: .obj/BattleArena.o] Error 1
  104. root@:/usr/home/styles_server/Srcs/Server/game/src #
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top