Advertisement
Guest User

Untitled

a guest
Sep 26th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1.  
  2. root@:~ # cd /usr/home/styles_server/Srcs/Server/db/src
  3. root@:/usr/home/styles_server/Srcs/Server/db/src # gmake
  4. compiling ClientManagerBoot.cpp
  5. ClientManagerBoot.cpp: In function 'void LoadItemsNames()':
  6. ClientManagerBoot.cpp:54:20: error: 'stoi' is not a member of 'std'
  7. DWORD dwVnum = std::stoi(vnum);
  8. ^
  9. ClientManagerBoot.cpp: In function 'void LoadMobsNames()':
  10. ClientManagerBoot.cpp:101:20: error: 'stoi' is not a member of 'std'
  11. DWORD dwVnum = std::stoi(vnum);
  12. ^
  13. ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTable()':
  14. ClientManagerBoot.cpp:383:12: error: 'mob' was not declared in this scope
  15. strlcpy(mob.szLocaleName[LANGUAGE_POLISH], GetNameByZone(mob.dwVnum, LANGUAGE_POLISH, ZONE_TYPE_MOB).c_str(), sizeof(mob.szLocaleName[LANGUAGE_POLISH]));
  16. ^
  17. ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTable()':
  18. ClientManagerBoot.cpp:631:108: error: 'GetItemNameByZone' was not declared in this scope
  19. strlcpy(item_table->szLocaleName[LANGUAGE_POLISH], GetItemNameByZone(item_table->dwVnum, LANGUAGE_POLISH).c_str(), sizeof(item_table->szLocaleName[LANGUAGE_POLISH]));
  20. ^
  21. ClientManagerBoot.cpp: In member function 'bool CClientManager::MirrorMobTableIntoDB()':
  22. ClientManagerBoot.cpp:1294:4: warning: format '%s' expects argument of type 'char*', but argument 8 has type 'const char (*)[25]' [-Wformat=]
  23. );
  24. ^
  25. ClientManagerBoot.cpp:1294:4: warning: format '%s' expects argument of type 'char*', but argument 8 has type 'const char (*)[25]' [-Wformat=]
  26. ClientManagerBoot.cpp: In member function 'bool CClientManager::MirrorItemTableIntoDB()':
  27. ClientManagerBoot.cpp:1331:93: warning: format '%s' expects argument of type 'char*', but argument 10 has type 'const char (*)[25]' [-Wformat=]
  28. t.alValues[0], t.alValues[1], t.alValues[2], t.alValues[3], t.alValues[4], t.alValues[5]); //36
  29. ^
  30. ClientManagerBoot.cpp:1331:93: warning: format '%s' expects argument of type 'char*', but argument 10 has type 'const char (*)[25]' [-Wformat=]
  31. ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTableFromDB()':
  32. ClientManagerBoot.cpp:1396:96: error: cannot convert 'char (*)[25]' to 'char*' for argument '1' to 'size_t strlcpy(char*, const char*, size_t)'
  33. #define VERIFY_SFIELD(x,y) if (data[x]!=NULL && data[x][0]!='\0') strlcpy(y, data[x], sizeof(y));
  34. ^
  35. ClientManagerBoot.cpp:1478:3: note: in expansion of macro 'VERIFY_SFIELD'
  36. VERIFY_SFIELD(MProto::locale_name, mob_table->szLocaleName);
  37. ^
  38. gmake: *** [Makefile:68: .obj/ClientManagerBoot.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement