Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@:~ # cd /usr/home/styles_server/Srcs/Server/db/src
- root@:/usr/home/styles_server/Srcs/Server/db/src # gmake
- compiling ClientManagerBoot.cpp
- ClientManagerBoot.cpp: In function 'void LoadItemsNames()':
- ClientManagerBoot.cpp:54:20: error: 'stoi' is not a member of 'std'
- DWORD dwVnum = std::stoi(vnum);
- ^
- ClientManagerBoot.cpp: In function 'void LoadMobsNames()':
- ClientManagerBoot.cpp:101:20: error: 'stoi' is not a member of 'std'
- DWORD dwVnum = std::stoi(vnum);
- ^
- ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTable()':
- ClientManagerBoot.cpp:383:12: error: 'mob' was not declared in this scope
- strlcpy(mob.szLocaleName[LANGUAGE_POLISH], GetNameByZone(mob.dwVnum, LANGUAGE_POLISH, ZONE_TYPE_MOB).c_str(), sizeof(mob.szLocaleName[LANGUAGE_POLISH]));
- ^
- ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTable()':
- ClientManagerBoot.cpp:631:108: error: 'GetItemNameByZone' was not declared in this scope
- strlcpy(item_table->szLocaleName[LANGUAGE_POLISH], GetItemNameByZone(item_table->dwVnum, LANGUAGE_POLISH).c_str(), sizeof(item_table->szLocaleName[LANGUAGE_POLISH]));
- ^
- ClientManagerBoot.cpp: In member function 'bool CClientManager::MirrorMobTableIntoDB()':
- ClientManagerBoot.cpp:1294:4: warning: format '%s' expects argument of type 'char*', but argument 8 has type 'const char (*)[25]' [-Wformat=]
- );
- ^
- ClientManagerBoot.cpp:1294:4: warning: format '%s' expects argument of type 'char*', but argument 8 has type 'const char (*)[25]' [-Wformat=]
- ClientManagerBoot.cpp: In member function 'bool CClientManager::MirrorItemTableIntoDB()':
- ClientManagerBoot.cpp:1331:93: warning: format '%s' expects argument of type 'char*', but argument 10 has type 'const char (*)[25]' [-Wformat=]
- t.alValues[0], t.alValues[1], t.alValues[2], t.alValues[3], t.alValues[4], t.alValues[5]); //36
- ^
- ClientManagerBoot.cpp:1331:93: warning: format '%s' expects argument of type 'char*', but argument 10 has type 'const char (*)[25]' [-Wformat=]
- ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTableFromDB()':
- ClientManagerBoot.cpp:1396:96: error: cannot convert 'char (*)[25]' to 'char*' for argument '1' to 'size_t strlcpy(char*, const char*, size_t)'
- #define VERIFY_SFIELD(x,y) if (data[x]!=NULL && data[x][0]!='\0') strlcpy(y, data[x], sizeof(y));
- ^
- ClientManagerBoot.cpp:1478:3: note: in expansion of macro 'VERIFY_SFIELD'
- VERIFY_SFIELD(MProto::locale_name, mob_table->szLocaleName);
- ^
- gmake: *** [Makefile:68: .obj/ClientManagerBoot.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement