avatar
Eroare GMAKE

Guest 208 10th Feb, 2019

                                           
                         root@vds:/usr/src/Server/game/src # gmake -j20
compile OXEvent.cpp
compile ani.cpp
compile TrafficProfiler.cpp
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_quickslot.cpp
compile char_manager.cpp
compile char_resist.cpp
compile char_skill.cpp
In file included from desc.h:7:0,
                 from arena.cpp:5:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from arena.cpp:5:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from arena.cpp:5:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
In file included from desc.h:7:0,
                 from battle.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from battle.cpp:4:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
In file included from desc.h:7:0,
                 from battle.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from battle.cpp:4:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from battle.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
                 from char_skill.cpp:10:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_skill.cpp:10:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_skill.cpp:10:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_skill.cpp:10:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_skill.cpp:10:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
char_skill.cpp: In member function 'bool CHARACTER::UseSkill(DWORD, LPCHARACTER, bool)':
char_skill.cpp:2489:50: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (IsAffectFlag(AFF_TANHWAN_DASH) || pkVictim && pkVictim != this)
                                                  ^
char_skill.cpp:2595:96: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (pkSk->dwVnum == SKILL_MUYEONG || pkSk->IsChargeSkill() && !IsAffectFlag(AFF_TANHWAN_DASH) && !pkVictim)
                                                                                                ^
gmake: *** [Makefile:132: OBJDIR/char_skill.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from desc.h:7:0,
                 from char_manager.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_manager.cpp:4:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_manager.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_manager.cpp:4:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_manager.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
                 from char_quickslot.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_quickslot.cpp:4:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_quickslot.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_quickslot.cpp:4:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_quickslot.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
                 from char_item.cpp:10:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_item.cpp:10:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_item.cpp:10:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_item.cpp:10:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_item.cpp:10:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
In file included from ../../libthecore/include/stdafx.h:141:0,
                 from stdafx.h:10,
                 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.cpp:2008:41: 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.cpp:2072:40: 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.cpp:2648:162: 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.cpp:2652:159: 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.cpp:2664:159: 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.cpp:2668:156: 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.cpp:2695:163: 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.cpp:2703:155: 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.cpp:3883:45: 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.cpp:3887:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
          if (item->GetVnum() == ITEM_VALENTINE_ROSE && SEX_MALE==GET_SEX(this) ||
                                                     ^
char_item.cpp:3907:45: 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.cpp:3911:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
          if (item->GetVnum() == ITEM_WHITEDAY_CANDY && SEX_MALE==GET_SEX(this) ||
                                                     ^
char_item.cpp:3930:45: 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:10,
                 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:5357:31: note: in expansion of macro '_countof'
     if (item->GetSocket(0) >= _countof(aApplyInfo))
                               ^
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5583:22: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
  if (item->GetVnum() == 50200 | item->GetVnum() == 71049)
                      ^
char_item.cpp:5429:7: warning: unused variable 'wDestCell' [-Wunused-variable]
  WORD wDestCell = DestCell.cell;
       ^
char_item.cpp:5430: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:6580: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:6669: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:6681:79: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0]); i++)
                                                                               ^
In file included from desc.h:7:0,
                 from char_battle.cpp:4:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_battle.cpp:4:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_battle.cpp:4:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from char_battle.cpp:4:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from char_battle.cpp:4:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
gmake: *** [Makefile:131: OBJDIR/char_quickslot.o] Error 1
char_battle.cpp: In member function 'void CHARACTER::Reward(bool)':
char_battle.cpp:780:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if (GetLevel() - pkAttacker->GetLevel() >= -10)
      ^
In file included from desc.h:7:0,
                 from desc_client.h:4,
                 from char_affect.cpp:10:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from desc_client.h:4,
                 from char_affect.cpp:10:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from desc_client.h:4,
                 from char_affect.cpp:10:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from desc_client.h:4,
                 from char_affect.cpp:10:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from desc_client.h:4,
                 from char_affect.cpp:10:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from arena.cpp:5:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from arena.cpp:5:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
In file included from desc.h:7:0,
                 from OXEvent.cpp:12:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from OXEvent.cpp:12:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from OXEvent.cpp:12:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from OXEvent.cpp:12:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from OXEvent.cpp:12:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
char.cpp:8776:3: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
   return 2500000000;
   ^
In file included from desc.h:7:0,
                 from building.cpp:12:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from building.cpp:12:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from building.cpp:12:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from building.cpp:12:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from building.cpp:12:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:680:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
gmake: *** [Makefile:131: OBJDIR/char_manager.o] Error 1
gmake: *** [Makefile:131: OBJDIR/char_battle.o] Error 1
gmake: *** [Makefile:131: OBJDIR/char_affect.o] Error 1
gmake: *** [Makefile:131: OBJDIR/arena.o] Error 1
gmake: *** [Makefile:131: OBJDIR/battle.o] Error 1
gmake: *** [Makefile:131: OBJDIR/OXEvent.o] Error 1

/: write failed, filesystem is full
{standard input}: Assembler messages:
{standard input}: Fatal error: can't write 4 bytes to section .data of OBJDIR/ani.o: 'No space left on device'
{standard input}: Fatal error: can't close OBJDIR/ani.o: No space left on device
{standard input}: Assembler messages:
{standard input}: Fatal error: can't write 4 bytes to section .data of OBJDIR/banword.o: 'No space left on device'
{standard input}: Fatal error: can't close OBJDIR/banword.o: No space left on device
{standard input}: Assembler messages:
{standard input}: Fatal error: can't write 640 bytes to section .data of OBJDIR/castle.o: 'No space left on device'
{standard input}: Fatal error: can't close OBJDIR/castle.o: No space left on device
gmake: *** [Makefile:131: OBJDIR/ani.o] Error 1
gmake: *** [Makefile:131: OBJDIR/char_item.o] Error 1
gmake: *** [Makefile:131: OBJDIR/building.o] Error 1
gmake: *** [Makefile:131: OBJDIR/castle.o] Error 1
gmake: *** [Makefile:131: OBJDIR/banword.o] Error 1
In file included from desc.h:7:0,
                 from desc_client.h:4,
                 from char.cpp:13:
cipher.h: In member function 'void Cipher::Encrypt(void*, size_t)':
cipher.h:31:28: error: 'byte' was not declared in this scope
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:31:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from desc_client.h:4,
                 from char.cpp:13:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from desc_client.h:4,
                 from char.cpp:13:
cipher.h:31:33: error: expected primary-expression before ')' token
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:31:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:31:43: error: expected primary-expression before 'const'
     encoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:31:43: error: expected ')' before 'const'
cipher.h: In member function 'void Cipher::Decrypt(void*, size_t)':
cipher.h:39:28: error: 'byte' was not declared in this scope
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                            ^
cipher.h:39:28: note: suggested alternative:
In file included from /usr/local/include/cryptopp/cryptlib.h:102:0,
                 from cipher.h:6,
                 from desc.h:7,
                 from desc_client.h:4,
                 from char.cpp:13:
/usr/local/include/cryptopp/config.h:237:23: note:   'CryptoPP::byte'
 typedef unsigned char byte;
                       ^
In file included from desc.h:7:0,
                 from desc_client.h:4,
                 from char.cpp:13:
cipher.h:39:33: error: expected primary-expression before ')' token
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                                 ^
cipher.h:39:49: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
cipher.h:39:43: error: expected primary-expression before 'const'
     decoder_->ProcessData((byte*)buffer, (const byte*)buffer, length);
                                           ^
cipher.h:39:43: error: expected ')' before 'const'
char.cpp: In member function 'virtual void CHARACTER::EncodeInsertPacket(LPENTITY)':
char.cpp:964:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (IsPC() || GetRaceNum() != 30000 && !IsPrivShop())
                                       ^
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:3067:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
      if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2)
                                                         ^
char.cpp: In member function 'void CHARACTER::OnClick(LPCHARACTER)':
char.cpp:5494:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (IsPC() || IsNPC() && GetRaceNum() == 30000)
                        ^
char.cpp: In member function 'void CHARACTER::LoadGiftPage(int)':
char.cpp:5659:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < it->second.size(); i++)
                                      ^
char.cpp: In member function 'void CHARACTER::OpenMyShop(const char*, TShopItemTable*, BYTE, DWORD)':
char.cpp:5807:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if (m_mapshops.size() >= (gShopMax ? gShopMax : 2))
                                                   ^
char.cpp:5829:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if (pRes->uiNumRows >= shop_max)
                           ^
char.cpp: In member function 'void CHARACTER::OpenShop(DWORD, const char*, bool)':
char.cpp:6233:7: warning: unused variable 'c' [-Wunused-variable]
   int c = 0;
       ^
char.cpp:6303:22: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (bItemCount == 0 && !onboot || bItemCount > SHOP_HOST_ITEM_MAX_NUM)
                      ^
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:7795:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get_dword_time());
                                                 ^
char.cpp: In member function 'void CHARACTER::ClearOfflineMessageBox(DWORD)':
char.cpp:8844:16: warning: zero-length gnu_printf format string [-Wformat-zero-length]
  fprintf(fp, "");
                ^
char.cpp: In member function 'void CHARACTER::ReadOfflineMessageBox()':
char.cpp:8862:6: warning: unused variable 'i' [-Wunused-variable]
  int i = 0;
      ^
char.cpp: In member function 'bool CHARACTER::onex_vip_timp()':
char.cpp:1867:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
gmake: *** [Makefile:131: OBJDIR/char.o] Error 1
root@vds:/usr/src/Server/game/src # gmake -j20
                      
                                       
Pentru a distribui această postare, copiați această adresă URL și trimiteți-o prietenilor
RAW Paste Data