PHP Code:
compile char_item.cpp
compile char_manager.cpp
In file included from char_item.cpp:47:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
char_item.cpp: At global scope:
char_item.cpp:455: error: prototype for 'CItem* CHARACTER::GetWear(BYTE) const' does not match any in class 'CHARACTER'
char.h:1062: error: candidate is: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:467: error: prototype for 'void CHARACTER::SetWear(BYTE, CItem*)' does not match any in class 'CHARACTER'
char.h:1061: error: candidate is: void CHARACTER::SetWear(UINT, CItem*)
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:534: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:544: warning: comparison between signed and unsigned integer expressions
char_item.cpp:559: warning: comparison between signed and unsigned integer expressions
char_item.cpp:578: warning: comparison between signed and unsigned integer expressions
char_item.cpp:608: warning: comparison between signed and unsigned integer expressions
char_item.cpp:640: warning: comparison is always false due to limited range of data type
char_item.cpp:666: warning: comparison is always false due to limited range of data type
char_item.cpp: At global scope:
char_item.cpp:1260: error: prototype for 'bool CHARACTER::RefineInformation(BYTE, BYTE, int)' does not match any in class 'CHARACTER'
char.h:1102: error: candidate is: bool CHARACTER::RefineInformation(UINT, BYTE, int)
char_item.cpp: In member function 'bool CHARACTER::RefineItem(CItem*, CItem*)':
char_item.cpp:1370: error: call of overloaded 'RefineInformation(WORD, ERefineType, WORD)' is ambiguous
char.h:1102: note: candidates are: bool CHARACTER::RefineInformation(UINT, BYTE, int)
char_item.cpp:1260: note: bool CHARACTER::RefineInformation(BYTE, BYTE, int)
char_item.cpp:1373: error: call of overloaded 'RefineInformation(WORD, ERefineType, WORD)' is ambiguous
char.h:1102: note: candidates are: bool CHARACTER::RefineInformation(UINT, BYTE, int)
char_item.cpp:1260: note: bool CHARACTER::RefineInformation(BYTE, BYTE, int)
char_item.cpp:1377: error: call of overloaded 'RefineInformation(WORD, ERefineType, WORD)' is ambiguous
char.h:1102: note: candidates are: bool CHARACTER::RefineInformation(UINT, BYTE, int)
char_item.cpp:1260: note: bool CHARACTER::RefineInformation(BYTE, BYTE, int)
char_item.cpp:1382: error: call of overloaded 'RefineInformation(WORD, ERefineType, WORD)' is ambiguous
char.h:1102: note: candidates are: bool CHARACTER::RefineInformation(UINT, BYTE, int)
char_item.cpp:1260: note: bool CHARACTER::RefineInformation(BYTE, BYTE, int)
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:3620: warning: suggest parentheses around && within ||
char_item.cpp:3644: warning: suggest parentheses around && within ||
char_item.cpp:4869: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:5098: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5316: warning: suggest parentheses around comparison in operand of |
char_item.cpp:5170: warning: unused variable 'wDestCell'
char_item.cpp:5171: warning: unused variable 'bDestInven'
char_item.cpp: At global scope:
char_item.cpp:5953: error: prototype for 'bool CHARACTER::SwapItem(BYTE, BYTE)' does not match any in class 'CHARACTER'
char.h:1124: error: candidate is: bool CHARACTER::SwapItem(UINT, BYTE)
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6143: error: call of overloaded 'GetWear(int&)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:6143: error: call of overloaded 'GetWear(int&)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:6149: error: call of overloaded 'SwapItem(WORD, int)' is ambiguous
char.h:1124: note: candidates are: bool CHARACTER::SwapItem(UINT, BYTE)
char_item.cpp:5953: note: bool CHARACTER::SwapItem(BYTE, BYTE)
char_item.cpp:6174: warning: array subscript has type 'char'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
char_item.cpp:6238: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
char_item.cpp:6250: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::IsEquipUniqueItem(DWORD) const':
char_item.cpp:6936: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:6943: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp: In member function 'bool CHARACTER::IsEquipUniqueGroup(DWORD) const':
char_item.cpp:6960: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:6967: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp: In member function 'bool CHARACTER::UnEquipSpecialRideUniqueItem()':
char_item.cpp:7267: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:7268: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
char_item.cpp:7511: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:7511: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:7512: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:7512: error: call of overloaded 'GetWear(EWearPositions)' is ambiguous
char.h:1062: note: candidates are: CItem* CHARACTER::GetWear(UINT) const
char_item.cpp:455: note: CItem* CHARACTER::GetWear(BYTE) const
char_item.cpp:7436: warning: unused variable 'itemType'
char_item.cpp:7437: warning: unused variable 'itemSubType'
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
../../../Extern/include/cryptopp/cryptlib.h:277: instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]':
../../../Extern/include/cryptopp/cryptlib.h:283: instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = std::string]':
../../../Extern/include/cryptopp/cryptlib.h:277: instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
../../../Extern/include/cryptopp/cryptlib.h: In member function 'bool CryptoPP::NameValuePairs::GetValue(const char*, T&) const [with T = int]':
../../../Extern/include/cryptopp/cryptlib.h:283: instantiated from here
../../../Extern/include/cryptopp/cryptlib.h:264: warning: dereferencing type-punned pointer will break strict-aliasing rules
Makefile:119: recipe for target 'OBJDIR/char_item.o' failed
gmake: *** [OBJDIR/char_item.o] Error 1
gmake: *** Waiting for unfinished jobs....






