Tipologie server(PvM / PvP): pvm
*Resursă folosită: Exclusiv Just4Metin
*ServerFiles utilizat: Svf Metin2Rivaled
*Syserr:
Poză:
*Detalii suplimentare: Aceasta este ce imi da in puty cand incerc sa compilez
gmake: Warning: File `Makefile' has modification time 190404602 s in the future
compile BattleArena.cpp
compile black_event.cpp
compile FSM.cpp
compile MarkConvert.cpp
compile MarkImage.cpp
compile MarkManager.cpp
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
black_event.cpp: In function 'void black_event::kis_event()':
black_event.cpp:99:7: warning: unused variable 'kis' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::futbol_event()':
black_event.cpp:143:373: warning: unused variable 'futbol' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::ayisik_event()':
black_event.cpp:174:78: warning: unused variable 'ayisigi' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::sonsuz_kis()':
black_event.cpp:205:152: warning: unused variable 'sonsuz_kis' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::col_firtinasi()':
black_event.cpp:238:228: warning: unused variable 'col_sandigi' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
black_event.cpp: In function 'void black_event::Altigen()':
black_event.cpp:271:302: warning: unused variable 'altigen' [-Wunused-variable]
int kis = quest::CQuestManager::instance().GetEventFlag("new_xmas_event"), ayisigi = quest::CQuestManager::instance().GetEventFlag("black_ayisigi"), sonsuz_kis = quest::CQuestManager::instance().GetEventFlag("black_sonsuz"), col_sandigi = quest::CQuestManager::instance().GetEventFlag("black_col"), altigen = quest::CQuestManager::instance().GetEventFlag("black_alti"), futbol = quest::CQuestManager::instance().GetEventFlag("black_futbol_drop");
^
compile arena.cpp
compile banword.cpp
compile battle.cpp
compile blend_item.cpp
compile block_country.cpp
compile buffer_manager.cpp
compile building.cpp
compile castle.cpp
compile char.cpp
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
compile char_horse.cpp
compile char_item.cpp
compile char_manager.cpp
compile char_quickslot.cpp
compile char_resist.cpp
compile char_skill.cpp
compile char_state.cpp
compile PetSystem.cpp
compile cmd.cpp
compile cmd_emotion.cpp
compile cmd_general.cpp
compile cmd_gm.cpp
compile cmd_oxevent.cpp
compile config.cpp
config.cpp: In function 'void config_init(const string&)':
config.cpp:491:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:515:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:539:22: warning: NULL used in arithmetic [-Wpointer-arith]
if (NULL != line[0])
^
config.cpp:561:17: warning: unused variable 'line' [-Wunused-variable]
const char * line = two_arguments(value_string, openid_host, sizeof(openid_host), openid_uri, sizeof(openid_uri));
^
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
{standard input}: Assembler messages:
{standard input}: Warning: end of file not at end of a line; newline inserted
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
{standard input}:471: Error: number of operands mismatch for `mov'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** [OBJDIR/cmd_general.o] Error 4
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
g++48: internal compiler error: Killed: 9 (program cc1plus)
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
gmake: *** Waiting for unfinished jobs....
gmake: *** [OBJDIR/config.o] Error 4
gmake: *** [OBJDIR/cmd_gm.o] Error 4
gmake: *** [OBJDIR/cmd_emotion.o] Error 4
gmake: *** [OBJDIR/cmd.o] Error 4
gmake: *** [OBJDIR/PetSystem.o] Error 4
gmake: *** [OBJDIR/char_battle.o] Error 4
gmake: *** [OBJDIR/building.o] Error 4
In file included from ../../libthecore/include/stdafx.h:141:0,
from stdafx.h:9,
from char_item.cpp:1:
belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper::TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define _countof(_Array) sizeof(*__countof_helper(_Array))
^
belt_inventory_helper.h:28:16: note: in expansion of macro '_countof'
if (level >= _countof(beltGradeByLevelTable))
^
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
char_item.cpp41: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp40: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp162: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Inc %ds by item{VN:%d SOC%d:%d}", ret, item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
^
char_item.cpp159: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Inc %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp159: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d SOC%d:%d}", item->GetVnum(), ITEM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX));
^
char_item.cpp156: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp163: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=]
sprintf(buf, "Increase %ds by item{VN:%d VAL%d:%d}", ret, item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp155: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
sprintf(buf, "No change by item{VN:%d VAL%d:%d}", item->GetVnum(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
^
char_item.cpp45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (item->GetVnum() == ITEM_VALENTINE_ROSE && SEX_MALE==GET_SEX(this) ||
^
char_item.cpp45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
char_item.cpp53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (item->GetVnum() == ITEM_WHITEDAY_CANDY && SEX_MALE==GET_SEX(this) ||
^
char_item.cpp45: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_type&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>; std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::value_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CItem*>]' [-Wconversion-null]
std::vector <LPITEM> item_gets(NULL);
^
In file included from ../../libthecore/include/stdafx.h:141:0,
from stdafx.h:9,
from char_item.cpp:1:
../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define _countof(_Array) sizeof(*__countof_helper(_Array))
^
char_item.cpp:5358:31: note: in expansion of macro '_countof'
if (item->GetSocket(0) >= _countof(aApplyInfo))
^
char_item.cpp6: warning: variable 'iLimitTimerBasedOnWearFlagIndex' set but not used [-Wunused-but-set-variable]
int iLimitTimerBasedOnWearFlagIndex = -1;
^
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5584:22: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
if (item->GetVnum() == 50200 | item->GetVnum() == 71049)
^
char_item.cpp:5430:7: warning: unused variable 'wDestCell' [-Wunused-variable]
WORD wDestCell = DestCell.cell;
^
char_item.cpp:5431:7: warning: unused variable 'bDestInven' [-Wunused-variable]
BYTE bDestInven = DestCell.window_type;
^
char_item.cpp: In member function 'bool CHARACTER::EquipItem(LPITEM, int)':
char_item.cpp:6802:141: warning: array subscript has type 'char' [-Wchar-subscripts]
long duration = (0 != item->GetSocket(0)) ? item->GetSocket(0) : item->GetProto()->aLimits[item->GetProto()->cLimitRealTimeFirstUseIndex].lValue;
^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(LPITEM)':
char_item.cpp:6887:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(LPITEM)':
char_item.cpp:6899:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
^
char_item.cpp: In member function 'bool CHARACTER::InformationSpecialItemGroup(DWORD, std::vector<unsigned int>&, std::vector<unsigned int>&, std::vector<CItem*>&, int&)':
char_item.cpp:7751:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < CountTotal; i++)
^
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:778:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
char_skill.cpp: In member function 'bool CHARACTER::UseSkill(DWORD, LPCHARACTER, bool)':
char_skill.cpp50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (IsAffectFlag(AFF_TANHWAN_DASH) || pkVictim && pkVictim != this)
^
char_skill.cpp96: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (pkSk->dwVnum == SKILL_MUYEONG || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_TANHWAN_DASH) && !pkVictim)
^
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:803:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (!IsWalking() && !IsRiding())
^
char_state.cpp:901:17: warning: unused variable 'rider' [-Wunused-variable]
LPCHARACTER rider = GetRider();
^
char.cpp: In member function 'void CHARACTER::Disconnect(const char*)':
char.cpp97: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
inet_ntoa(GetDesc()->GetAddr().sin_addr), GetGold(), g_bChannel, GetMapIndex(), GetAlignment());
^
char.cpp97: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=]
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
^
char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
char.cpp:5704:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget->GetMaxHP() <= 0)
^
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6890:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
^
root@localhost:/usr/src/average-core/Srcs/Server/game/src #












