Jump to content

Can´t compile


Recommended Posts

Hello Help me Please, i cant compile...

 

compile BattleArena.cpp
compile FSM.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile MarkConvert.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile MarkImage.cpp
compile MarkManager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile OXEvent.cpp
compile TrafficProfiler.cpp
compile ani.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile arena.cpp
compile banword.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile battle.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile blend_item.cpp
compile block_country.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile buffer_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile castle.cpp
compile building.cpp
compile char.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_affect.cpp
compile char_battle.cpp
compile char_change_empire.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_horse.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_item.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
char.cpp:7217:3: warning: this decimal constant is unsigned only in ISO C90
   return 2500000000;
   ^
compile char_quickslot.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_resist.cpp
compile char_skill.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_state.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile PetSystem.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile cmd.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile cmd_emotion.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile cmd_general.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile cmd_gm.cpp
compile cmd_oxevent.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile config.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile constants.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
char_battle.cpp: In member function 'void CHARACTER::Reward(bool)':
char_battle.cpp:775:6: warning: suggest explicit braces to avoid ambiguous 'else                                                           ' [-Wparentheses]
   if (GetLevel() - pkAttacker->GetLevel() >= -10)
      ^
compile crc32.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile cube.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
char_skill.cpp: In member function 'bool CHARACTER::UseSkill(DWORD, LPCHARACTER,                                                            bool)':
char_skill.cpp:2489:50: warning: suggest parentheses around '&&' within '||' [-W                                                           parentheses]
   if (IsAffectFlag(AFF_TANHWAN_DASH) || pkVictim && pkVictim != this)
                                                  ^
PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:246:7: warning: unused variable 'bDoMoveAlone' [-Wunused-variable]
  bool bDoMoveAlone = true;     // ij▒▒▒Ϳ▒ ▒▒▒▒▒▒ ▒▒▒ ▒▒ ȥ▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒ϰ▒▒▒ ▒▒                                                           ▒▒ -_-;
       ^
char_skill.cpp:2595:96: warning: suggest parentheses around '&&' within '||' [-W                                                           parentheses]
  if (pkSk->dwVnum == SKILL_MUYEONG || pkSk->IsChargeSkill() && !IsAffectFlag(AF                                                           F_TANHWAN_DASH) && !pkVictim)
                                                                                                                                                           ^
PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, LPITEM,                                                            const char*, bool, DWORD)':
PetSystem.cpp:552:8: warning: unused variable 'petVID' [-Wunused-variable]
  DWORD petVID = petActor->Summon(petName, pSummonItem, bSpawnFar);
        ^
In file included from char_item.cpp:47:0:
belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper:                                                           :TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28:13: warning: comparison between signed and unsigned i                                                           nteger expressions [-Wsign-compare]
   if (level >= _countof(beltGradeByLevelTable))
             ^
char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
char.cpp:2880:57: warning: suggest parentheses around '&&' within '||' [-Wparent                                                           heses]
      if (GetJob() == JOB_SHAMAN || GetJob() == JOB_SURA && GetSkillGroup() == 2                                                           )
                                                         ^
char.cpp: In member function 'void CHARACTER::PointChange(BYTE, int, bool, bool)                                                           ':
char.cpp:3088:27: warning: comparison between signed and unsigned integer expres                                                           sions [-Wsign-compare]
     if (amount < 0 && exp < -amount)
                           ^
constants.cpp:291:2: warning: this decimal constant is unsigned only in ISO C90
  2150000000, // 100
  ^
constants.cpp:292:2: warning: this decimal constant is unsigned only in ISO C90
  2210000000,
  ^
constants.cpp:293:2: warning: this decimal constant is unsigned only in ISO C90
  2250000000,
  ^
constants.cpp:294:2: warning: this decimal constant is unsigned only in ISO C90
  2280000000,
  ^
constants.cpp:295:2: warning: this decimal constant is unsigned only in ISO C90
  2310000000,
  ^
constants.cpp:296:2: warning: this decimal constant is unsigned only in ISO C90
  2330000000, // 105
  ^
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
char_item.cpp:1965:41: warning: passing NULL to non-pointer argument 1 of 'std::                                                           vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_typ                                                           e&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>;                                                            std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::va                                                           lue_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CIt                                                           em*>]' [-Wconversion-null]
      std::vector <LPITEM> item_gets(NULL);
                                         ^
constants.cpp:297:2: warning: this decimal constant is unsigned only in ISO C90
  2350000000,
  ^
char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
char.cpp:5103:29: warning: suggest parentheses around '&&' within '||' [-Wparent                                                           heses]
   if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget                                                           ->GetMaxHP() <= 0)
                             ^
constants.cpp:298:2: warning: this decimal constant is unsigned only in ISO C90
  2370000000,
  ^
constants.cpp:299:2: warning: this decimal constant is unsigned only in ISO C90
  2390000000,
  ^
constants.cpp:300:2: warning: this decimal constant is unsigned only in ISO C90
  2400000000,
  ^
constants.cpp:301:2: warning: this decimal constant is unsigned only in ISO C90
  2410000000, // 110
  ^
constants.cpp:302:2: warning: this decimal constant is unsigned only in ISO C90
  2420000000,
  ^
constants.cpp:303:2: warning: this decimal constant is unsigned only in ISO C90
  2430000000,
  ^
constants.cpp:304:2: warning: this decimal constant is unsigned only in ISO C90
  2440000000,
  ^
constants.cpp:305:2: warning: this decimal constant is unsigned only in ISO C90
  2450000000,
  ^
constants.cpp:306:2: warning: this decimal constant is unsigned only in ISO C90
  2460000000, // 115
  ^
constants.cpp:307:2: warning: this decimal constant is unsigned only in ISO C90
  2470000000,
  ^
constants.cpp:308:2: warning: this decimal constant is unsigned only in ISO C90
  2480000000,
  ^
constants.cpp:309:2: warning: this decimal constant is unsigned only in ISO C90
  2490000000,
  ^
constants.cpp:310:2: warning: this decimal constant is unsigned only in ISO C90
  2490000000,
  ^
constants.cpp:311:2: warning: this decimal constant is unsigned only in ISO C90
  2500000000, // 120
  ^
char_item.cpp:2029:40: warning: passing NULL to non-pointer argument 1 of 'std::                                                           vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_typ                                                           e&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>;                                                            std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::va                                                           lue_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CIt                                                           em*>]' [-Wconversion-null]
     std::vector <LPITEM> item_gets(NULL);
                                        ^
char_item.cpp:2387: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_ID                                                           X));
                                                                                                                                                                                                                                                                                        ^
char_item.cpp:2391: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:2403: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(), IT                                                           EM_SOCKET_CHARGING_AMOUNT_IDX, item->GetSocket(ITEM_SOCKET_CHARGING_AMOUNT_IDX))                                                           ;
                                                                                                                                                                                                                          ^
char_item.cpp:2407: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(), IT                                                           EM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
                                                                                                                                                                                                                       ^
char_item.cpp:2434: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->GetVnu                                                           m(), ITEM_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_I                                                           DX));
                                                                                                                                                                                                                                                                                         ^
char_item.cpp:2442: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(), ITE                                                           M_VALUE_CHARGING_AMOUNT_IDX, item->GetValue(ITEM_VALUE_CHARGING_AMOUNT_IDX));
                                                                                                                                                                                                                      ^
char_item.cpp:3612:45: warning: passing NULL to non-pointer argument 1 of 'std::                                                           vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_typ                                                           e&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>;                                                            std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::va                                                           lue_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CIt                                                           em*>]' [-Wconversion-null]
          std::vector <LPITEM> item_gets(NULL);
                                             ^
char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
char.cpp:6284:49: warning: suggest parentheses around '&&' within '||' [-Wparent                                                           heses]
  return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get                                                           _dword_time());
                                                 ^
char_item.cpp:3616:53: warning: suggest parentheses around '&&' within '||' [-Wp                                                           arentheses]
          if (item->GetVnum() == ITEM_VALENTINE_ROSE && SEX_MALE==GET_SEX(this)                                                            ||
                                                     ^
char_item.cpp:3636:45: warning: passing NULL to non-pointer argument 1 of 'std::                                                           vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_typ                                                           e&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>;                                                            std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::va                                                           lue_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CIt                                                           em*>]' [-Wconversion-null]
          std::vector <LPITEM> item_gets(NULL);
                                             ^
char_item.cpp:3640:53: warning: suggest parentheses around '&&' within '||' [-Wp                                                           arentheses]
          if (item->GetVnum() == ITEM_WHITEDAY_CANDY && SEX_MALE==GET_SEX(this)                                                            ||
                                                     ^
char_item.cpp:3659:45: warning: passing NULL to non-pointer argument 1 of 'std::                                                           vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_typ                                                           e&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>;                                                            std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::va                                                           lue_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CIt                                                           em*>]' [-Wconversion-null]
          std::vector <LPITEM> item_gets(NULL);
                                             ^
compile db.cpp
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_item.cpp:5087:28: warning: comparison between signed and unsigned integer e                                                           xpressions [-Wsign-compare]
     if (item->GetSocket(0) >= _countof(aApplyInfo))
                            ^
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
char_item.cpp:1669:6: warning: variable 'iLimitTimerBasedOnWearFlagIndex' set bu                                                           t not used [-Wunused-but-set-variable]
  int iLimitTimerBasedOnWearFlagIndex = -1;
      ^
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5305:22: warning: suggest parentheses around comparison in operand                                                            of '|' [-Wparentheses]
  if (item->GetVnum() == 50200 | item->GetVnum() == 71049)
                      ^
char_item.cpp:5159:7: warning: unused variable 'wDestCell' [-Wunused-variable]
  WORD wDestCell = DestCell.cell;
       ^
char_item.cpp:5160: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:6160:141: warning: array subscript has type 'char' [-Wchar-subscri                                                           pts]
     long duration = (0 != item->GetSocket(0)) ? item->GetSocket(0) : item->GetP                                                           roto()->aLimits[item->GetProto()->cLimitRealTimeFirstUseIndex].lValue;
                                                                                                                                                                                                        ^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(L                                                           PITEM)':
char_item.cpp:6224:20: warning: comparison between signed and unsigned integer e                                                           xpressions [-Wsign-compare]
  for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0])                                                           ; i++)
                    ^
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromIte                                                           m(LPITEM)':
char_item.cpp:6236:20: warning: comparison between signed and unsigned integer e                                                           xpressions [-Wsign-compare]
  for (int i = 0; i < sizeof(g_aBuffOnAttrPoints)/sizeof(g_aBuffOnAttrPoints[0])                                                           ; i++)
                    ^
compile desc.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(LPITEM, const TIt                                                           emPos&, const TItemPos&)':
char_item.cpp:7422:7: warning: unused variable 'itemType' [-Wunused-variable]
  BYTE itemType = item->GetType();
       ^
char_item.cpp:7423:7: warning: unused variable 'itemSubType' [-Wunused-variable]
  BYTE itemSubType = item->GetSubType();
       ^
compile desc_client.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile desc_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYT                                                           E, int) const':
char_item.cpp:679:1: warning: control reaches end of non-void function [-Wreturn                                                           -type]
 }
 ^
compile desc_p2p.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile dungeon.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cube.cpp: In function 'bool Cube_make(LPCHARACTER)':
cube.cpp:544:20: warning: comparison between signed and unsigned integer express                                                           ions [-Wsign-compare]
  if (ch->GetGold() < cube_proto->gold)
                    ^
compile dev_log.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cube.cpp: In function 'void Cube_MakeCubeInformationText()':
cube.cpp:716:16: warning: unused variable 'npcVNUM' [-Wunused-variable]
   const DWORD& npcVNUM = iter->first;
                ^
cube.cpp: In function 'bool Cube_InformationInitialize()':
cube.cpp:783:20: warning: comparison between signed and unsigned integer express                                                           ions [-Wsign-compare]
  for (int i = 0; i < s_cube_proto.size(); ++i)
                    ^
compile empire_text_convert.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile entity.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from config.cpp:22:0:
check_server.h: In static member function 'static bool CheckServer::CheckIp(cons                                                           t char*)':
check_server.h:24:21: warning: comparison between signed and unsigned integer ex                                                           pressions [-Wsign-compare]
   for (int i = 0; i < keys_.size(); i++)
                     ^
config.cpp: In function 'void config_init(const string&)':
config.cpp:435:22: warning: NULL used in arithmetic [-Wpointer-arith]
    if (NULL != line[0])
                      ^
config.cpp:459:22: warning: NULL used in arithmetic [-Wpointer-arith]
    if (NULL != line[0])
                      ^
config.cpp:483:22: warning: NULL used in arithmetic [-Wpointer-arith]
    if (NULL != line[0])
                      ^
config.cpp:505:17: warning: unused variable 'line' [-Wunused-variable]
    const char * line = two_arguments(value_string, openid_host, sizeof(openid_h                                                           ost), openid_uri, sizeof(openid_uri));
                 ^
compile entity_view.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from desc_p2p.cpp:3:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
In file included from desc_client.cpp:7:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
In file included from desc.cpp:8:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD                                                           , bool)':
desc_client.cpp:299:75: warning: comparison between signed and unsigned integer                                                            expressions [-Wsign-compare]
  if (fForce || m_tLastChannelStatusUpdateTime+CHANNELSTATUS_UPDATE_PERIOD < t)                                                            {
                                                                           ^
compile event.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from desc_manager.cpp:10:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
compile event_queue.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cmd_gm.cpp: In function 'void do_set_stat(LPCHARACTER, const char*, int, int)':
cmd_gm.cpp:3935:17: warning: NULL used in arithmetic [-Wpointer-arith]
  if (*szName == NULL || *szChangeAmount == '\0')
                 ^
compile exchange.cpp
compile file_loader.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
desc_manager.cpp: In member function 'DWORD DESC_MANAGER::CreateHandshake()':
desc_manager.cpp:135:26: warning: dereferencing type-punned pointer will break s                                                           trict-aliasing rules [-Wstrict-aliasing]
   *(DWORD *) (crc_buf    ) = val;
                          ^
compile fishing.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile gm.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile guild.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile guild_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile guild_war.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gm.cpp: In function 'BYTE gm_new_get_level(const char*, const char*, const char*                                                           )':
gm.cpp:69:21: warning: suggest parentheses around '&&' within '||' [-Wparenthese                                                           s]
  if ( LC_IsEurope() && !LC_IsTaiwan() || LC_IsSingapore() )
                     ^
compile horse_rider.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cmd_gm.cpp: In function 'void do_mob_ld(LPCHARACTER, const char*, int, int)':
cmd_gm.cpp:871:6: warning: 'x' may be used uninitialized in this function [-Wmay                                                           be-uninitialized]
   dir);
      ^
cmd_gm.cpp:871:6: warning: 'y' may be used uninitialized in this function [-Wmay                                                           be-uninitialized]
compile horsename_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile input.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile input_auth.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile input_db.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile input_login.cpp
compile input_main.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from input_auth.cpp:7:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
input_auth.cpp: In member function 'int CInputAuth::auth_OpenID(const char*, con                                                           st char*, char*)':
input_auth.cpp:467:8: warning: unused variable 'last' [-Wunused-variable]
  char *last = 0;
        ^
compile input_p2p.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile input_teen.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from input_main.cpp:9:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
In file included from input_db.cpp:11:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
In file included from input_login.cpp:13:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
compile input_udp.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile ip_ban.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile item.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile item_addon.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile item_attribute.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cmd_gm.cpp: In function 'void do_use_item(LPCHARACTER, const char*, int, int)':
cmd_gm.cpp:4357:6: warning: 'cell' may be used uninitialized in this function [-                                                           Wmaybe-uninitialized]
  int cell;
      ^
In file included from input_teen.cpp:17:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
compile item_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
input_teen.cpp: In member function 'bool CInputTeen::ProcessHandshake(LPDESC, co                                                           nst void*, size_t, int&)':
input_teen.cpp:59:17: warning: dereferencing type-punned pointer will break stri                                                           ct-aliasing rules [-Wstrict-aliasing]
  *((DWORD *) buf) = handshake ^ HANDSHAKE_XOR;
                 ^
compile item_manager_idrange.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from input_udp.cpp:9:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
compile locale.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from item.cpp:8:0:
protocol.h: In function 'const char* encode_2bytes(sh_int)':
protocol.h:14:16: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((sh_int *) a) = ind;
                ^
protocol.h: In function 'const char* encode_4bytes(int)':
protocol.h:21:13: warning: dereferencing type-punned pointer will break strict-a                                                           liasing rules [-Wstrict-aliasing]
  *((int *) a) = ind;
             ^
compile locale_service.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile log.cpp
compile login_data.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile lzo_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from item.cpp:22:0:
belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper:                                                           :TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28:13: warning: comparison between signed and unsigned i                                                           nteger expressions [-Wsign-compare]
   if (level >= _countof(beltGradeByLevelTable))
             ^
In file included from item.cpp:17:0:
item.h: In constructor 'CItem::CItem(DWORD)':
item.h:286:12: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized aft                                                           er [-Wreorder]
   LPEVENT  m_pkRealTimeExpireEvent;
            ^
item.h:283:12: warning:   'LPEVENT CItem::m_pkExpireEvent' [-Wreorder]
   LPEVENT  m_pkExpireEvent;
            ^
item.cpp:25:1: warning:   when initialized here [-Wreorder]
 CItem::CItem(DWORD dwVnum)
 ^
item.cpp: In function 'const bool CanPutIntoRing(LPITEM, LPITEM)':
item.cpp:1725:14: warning: unused variable 'vnum' [-Wunused-variable]
  const DWORD vnum = item->GetVnum();
              ^
item.cpp: In member function 'bool CItem::CanPutInto(LPITEM)':
item.cpp:1758:20: warning: comparison between signed and unsigned integer expres                                                           sions [-Wsign-compare]
  for (int i = 0; i < sizeof(infos) / sizeof(infos[0]); i++)
                    ^
item.cpp: In member function 'int CItem::GiveMoreTime_Per(float)':
item.cpp:2014:18: warning: comparison between signed and unsigned integer expres                                                           sions [-Wsign-compare]
   if (remain_sec == duration)
                  ^
item.cpp:2016:33: warning: comparison between signed and unsigned integer expres                                                           sions [-Wsign-compare]
   if ((given_time + remain_sec) >= duration)
                                 ^
item.cpp: In member function 'int CItem::GiveMoreTime_Fix(DWORD)':
item.cpp:2038:18: warning: comparison between signed and unsigned integer expres                                                           sions [-Wsign-compare]
   if (remain_sec == duration)
                  ^
item.cpp: In member function 'int CItem::GetDuration()':
item.cpp:2069:69: warning: array subscript has type 'char' [-Wchar-subscripts]
   return GetProto()->aLimits[GetProto()->cLimitTimerBasedOnWearIndex].lValue;
                                                                     ^
compile marriage.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile matrix_card.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile messenger_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile mining.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile mob_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)'                                                           :
item_manager.cpp:604:21: warning: comparison between signed and unsigned integer                                                            expressions [-Wsign-compare]
   for (int i = 0; i < m_vec_item_vnum_range_info.size(); i++)
                     ^
compile motion.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile monarch.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile over9refine.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile p2p.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile packet_info.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile party.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile passpod.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile pcbang.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile polymorph.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile priv_manager.cpp
compile pvp.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questevent.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_affect.cpp
compile questlua.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_arena.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_ba.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_building.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
pvp.cpp: In member function 'bool CPVPManager::CanAttack(LPCHARACTER, LPCHARACTE                                                           R)':
pvp.cpp:425:46: warning: suggest parentheses around '&&' within '||' [-Wparenthe                                                           ses]
   if ( pkChr->GetPKMode() == PK_MODE_PROTECT && pkChr->GetEmpire() == bMapEmpir                                                           e ||
                                              ^
compile questlua_danceevent.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_dungeon.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_forked.cpp
compile questlua_game.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_global.cpp
compile questlua_guild.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_horse.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_pet.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_item.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_marriage.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_mgmt.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_npc.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_monarch.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_oxevent.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_party.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
questlua.cpp: In member function 'bool quest::FPartyCheckFlagLt::operator()(LPCH                                                           ARACTER)':
questlua.cpp:78:8: warning: 'returnBool' may be used uninitialized in this funct                                                           ion [-Wmaybe-uninitialized]
   bool returnBool;
        ^
compile questlua_pc.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_quest.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_target.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questmanager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questnpc.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questpc.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile refine.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
questlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)':
questlua_npc.cpp:293:18: warning: unused variable 'q' [-Wunused-variable]
   CQuestManager& q = CQuestManager::instance();
                  ^
questlua_npc.cpp: In function 'int quest::npc_set_vid_attack_mul(lua_State*)':
questlua_npc.cpp:309:18: warning: unused variable 'q' [-Wunused-variable]
   CQuestManager& q = CQuestManager::instance();
                  ^
questlua_npc.cpp: In function 'int quest::npc_get_vid_damage_mul(lua_State*)':
questlua_npc.cpp:324:18: warning: unused variable 'q' [-Wunused-variable]
   CQuestManager& q = CQuestManager::instance();
                  ^
questlua_npc.cpp: In function 'int quest::npc_set_vid_damage_mul(lua_State*)':
questlua_npc.cpp:340:18: warning: unused variable 'q' [-Wunused-variable]
   CQuestManager& q = CQuestManager::instance();
                  ^
compile regen.cpp
compile safebox.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile sectree.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile sectree_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile sequence.cpp
compile shop.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile skill.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
questlua_pc.cpp: In function 'int quest::pc_give_item_from_special_item_group(lu                                                           a_State*)':
questlua_pc.cpp:398:38: warning: passing NULL to non-pointer argument 1 of 'std:                                                           :vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const value_ty                                                           pe&, const allocator_type&) [with _Tp = CItem*; _Alloc = std::allocator<CItem*>;                                                            std::vector<_Tp, _Alloc>::size_type = unsigned int; std::vector<_Tp, _Alloc>::v                                                           alue_type = CItem*; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<CI                                                           tem*>]' [-Wconversion-null]
   std::vector <LPITEM> item_gets(NULL);
                                      ^
compile start_position.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile target.cpp
compile trigger.cpp
compile text_file_loader.cpp
questnpc.cpp: In member function 'bool quest::NPC::HandleEvent(quest::PC&, int)'                                                           :
questnpc.cpp:500:11: warning: unused variable 'pPC' [-Wunused-variable]
      PC * pPC = CQuestManager::instance().GetPC(pc.GetID());
           ^
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile utils.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile vector.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
utils.cpp: In function 'bool WildCaseCmp(const char*, const char*)':
utils.cpp:243:20: warning: NULL used in arithmetic [-Wpointer-arith]
     if (NULL == w[1])
                    ^
utils.cpp:255:18: warning: NULL used in arithmetic [-Wpointer-arith]
     if (NULL == *s)
                  ^
utils.cpp:269:18: warning: NULL used in arithmetic [-Wpointer-arith]
     if (NULL == *w)
                  ^
compile war_map.cpp
compile wedding.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile xmas_event.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile panama.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile version.cpp
compile threeway_war.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile map_location.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile auth_brazil.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
sectree_manager.cpp: In member function 'void SECTREE_MANAGER::LoadDungeon(int,                                                            const char*)':
sectree_manager.cpp:339:38: warning: suggest parentheses around '&&' within '||'                                                            [-Wparentheses]
   if (buf[0] == '#' || buf[0] == '/' && buf[1] == '/')
                                      ^
compile BlueDragon.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':
shop.cpp:576:30: warning: comparison between signed and unsigned integer express                                                           ions [-Wsign-compare]
   if (m_itemVector.itemid == itemID)
                              ^
trigger.cpp: In member function 'CHARACTER* FuncFindMobVictim::GetVictim()':
trigger.cpp:141:24: warning: suggest parentheses around '&&' within '||' [-Wpare                                                           ntheses]
    if (m_pkChrBuilding && m_pkChr->GetHP() * 2 > m_pkChr->GetMaxHP() || !m_pkCh                                                           rVictim)
                        ^
compile BlueDragon_Binder.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile DragonLair.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile questlua_dragonlair.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile HackShield.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile HackShield_Impl.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile char_hackshield.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile skill_power.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile affect.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile SpeedServer.cpp
compile questlua_speedserver.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile XTrapManager.cpp
compile auction_manager.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile FileMonitor_FreeBSD.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile ClientPackageCryptInfo.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile cipher.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from SpeedServer.cpp:3:0:
SpeedServer.h: In member function 'bool HME::operator<(const HME&) const':
SpeedServer.h:43:25: warning: suggest parentheses around '&&' within '||' [-Wpar                                                           entheses]
     || (hour==rhs.hour) && (min<rhs.min);
                         ^
SpeedServer.h: In member function 'bool Date::operator<(const Date&) const':
SpeedServer.h:68:25: warning: suggest parentheses around '&&' within '||' [-Wpar                                                           entheses]
     || (year==rhs.year) && (mon<rhs.mon)
                         ^
SpeedServer.h:69:43: warning: suggest parentheses around '&&' within '||' [-Wpar                                                           entheses]
     || (year==rhs.year) && (mon==rhs.mon) && (day<rhs.day);
                                           ^
compile buff_on_attributes.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile check_server.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile dragon_soul_table.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
compile DragonSoul.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from ../../libserverkey/CheckServerKey.h:3:0,
                 from check_server.h:6,
                 from check_server.cpp:1:
../../libserverkey/SIM.h: In member function 'bool SIM::ParseLine(const char*)':
../../libserverkey/SIM.h:57:50: error: 'printf' was not declared in this scope
     printf("invalid MAC address - mac(%s)\n", mac);
                                                  ^
../../libserverkey/SIM.h:61:58: error: 'printf' was not declared in this scope
    printf("IP-MAC type added - ip(%u) mac(%s)\n", ip, mac);
                                                          ^
../../libserverkey/SIM.h:81:76: error: 'printf' was not declared in this scope
    printf("IP RANGE type added - begin[%u] end[%u]\n", ipr.fromip, ipr.toip);
                                                                            ^
../../libserverkey/SIM.h:90:47: error: 'printf' was not declared in this scope
   printf("single IP type added - ip(%u)\n", ip);
                                               ^
../../libserverkey/SIM.h: In member function 'bool SIM::checkmac(const char*)':
../../libserverkey/SIM.h:287:59: error: 'printf' was not declared in this scope
    printf("checkmac - invalid length (%s)(%u)\n", mac, len);
                                                           ^
../../libserverkey/SIM.h:302:53: error: 'printf' was not declared in this scope
      printf("checkmac - cannot find '-' (%s)\n", mac);
                                                     ^
../../libserverkey/SIM.h:313:65: error: 'printf' was not declared in this scope
    printf("checkmac - invalid character (%s)(%c)\n", mac, mac);
                                                                 ^
../../libserverkey/SIM.h: In member function 'bool SIM::mac2bin(const string&, u                                                           nsigned char*)':
../../libserverkey/SIM.h:331:31: error: 'atoi' was not declared in this scope
     unsigned char b = atoi(buf);
                               ^
../../libserverkey/SIM.h:344:61: error: 'strtol' was not declared in this scope
     unsigned char b = (unsigned char)strtol(buf, &endptr, 16);
                                                             ^
../../libserverkey/SIM.h: In member function 'void SIM::bin2mac(unsigned char*,                                                            char*)':
../../libserverkey/SIM.h:356:47: error: 'snprintf' was not declared in this scop                                                           e
    _snprintf(outbuf + (i*3), 3, "%02X", bin);
                                               ^
In file included from check_server.cpp:1:0:
check_server.h: In static member function 'static bool CheckServer::CheckIp(cons                                                           t char*)':
check_server.h:24:21: warning: comparison between signed and unsigned integer ex                                                           pressions [-Wsign-compare]
   for (int i = 0; i < keys_.size(); i++)
                     ^
compile group_text_parse_tree.cpp
g++49: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake: *** [Makefile:120: OBJDIR/check_server.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from questlua_speedserver.cpp:2:0:
SpeedServer.h: In member function 'bool HME::operator<(const HME&) const':
SpeedServer.h:43:25: warning: suggest parentheses around '&&' within '||' [-Wpar                                                           entheses]
     || (hour==rhs.hour) && (min<rhs.min);
                         ^
SpeedServer.h: In member function 'bool Date::operator<(const Date&) const':
SpeedServer.h:68:25: warning: suggest parentheses around '&&' within '||' [-Wpar                                                           entheses]
     || (year==rhs.year) && (mon<rhs.mon)
                         ^
SpeedServer.h:69:43: warning: suggest parentheses around '&&' within '||' [-Wpar                                                           entheses]
     || (year==rhs.year) && (mon==rhs.mon) && (day<rhs.day);
                                           ^
In file included from ../../../Extern/include/cryptopp/secblock.h:7:0,
                 from ../../../Extern/include/cryptopp/modes.h:8,
                 from cipher.cpp:7:
../../../Extern/include/cryptopp/algparam.h: In instantiation of 'CryptoPP::Cons                                                           tByteArrayParameter::ConstByteArrayParameter(const T&, bool) [with T = std::basi                                                           c_string<char>]':
../../../Extern/include/cryptopp/filters.h:793:132:   required from here
../../../Extern/include/cryptopp/misc.h:58:118: warning: unused variable 'crypto                                                           pp_assert_26' [-Wunused-variable]
 #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAss                                                           ert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)
                                                                                                                                                                                 ^
../../../Extern/include/cryptopp/misc.h:61:39: note: in definition of macro 'CRY                                                           PTOPP_DO_ASSERT_JOIN'
 #define CRYPTOPP_DO_ASSERT_JOIN(X, Y) X##Y
                                       ^
../../../Extern/include/cryptopp/misc.h:58:97: note: in expansion of macro 'CRYP                                                           TOPP_ASSERT_JOIN'
 #define CRYPTOPP_COMPILE_ASSERT_INSTANCE(assertion, instance) static CompileAss                                                           ert<(assertion)> CRYPTOPP_ASSERT_JOIN(cryptopp_assert_, instance)
                                                                                                                                                            ^
../../../Extern/include/cryptopp/misc.h:54:44: note: in expansion of macro 'CRYP                                                           TOPP_COMPILE_ASSERT_INSTANCE'
 #define CRYPTOPP_COMPILE_ASSERT(assertion) CRYPTOPP_COMPILE_ASSERT_INSTANCE(ass                                                           ertion, __LINE__)
                                            ^
../../../Extern/include/cryptopp/algparam.h:26:9: note: in expansion of macro 'C                                                           RYPTOPP_COMPILE_ASSERT'
         CRYPTOPP_COMPILE_ASSERT(sizeof(CPP_TYPENAME T::value_type) == 1);
         ^
In file included from ../../../Extern/include/cryptopp/modes.h:8:0,
                 from cipher.cpp:7:
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::Allo                                                           catorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alig                                                           n16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vo                                                           id*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCle                                                           anup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T,                                                            T_Align16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:247:25:   required from 'CryptoPP::S                                                           ecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned                                                            char; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A                                                           >::size_type = unsigned int]'
../../../Extern/include/cryptopp/algparam.h:17:2:   required from here
../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not de                                                           clared in this scope, and no declarations were found by argument-dependent looku                                                           p at the point of instantiation [-fpermissive]
   CheckSize(n);
              ^
../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in depende                                                           nt base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lo                                                           okup
../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' i                                                           nstead
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::Allo                                                           catorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alig                                                           n16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vo                                                           id*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithClea                                                           nup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T                                                           _Align16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:247:25:   required from 'CryptoPP::S                                                           ecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned                                                            char; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBloc                                                           k<T, A>::size_type = unsigned int]'
../../../Extern/include/cryptopp/modes.h:63:34:   required from here
../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not de                                                           clared in this scope, and no declarations were found by argument-dependent looku                                                           p at the point of instantiation [-fpermissive]
../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in depende                                                           nt base 'CryptoPP::AllocatorBase<unsigned char>' are not found by unqualified lo                                                           okup
../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' i                                                           nstead
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::Allo                                                           catorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alig                                                           n16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vo                                                           id*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithClean                                                           up<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_A                                                           lign16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:249:29:   required from 'CryptoPP::S                                                           ecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int;                                                            A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]'
../../../Extern/include/cryptopp/modarith.h:122:20:   required from here
../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not de                                                           clared in this scope, and no declarations were found by argument-dependent looku                                                           p at the point of instantiation [-fpermissive]
../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in depende                                                           nt base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified loo                                                           kup
../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' i                                                           nstead
In file included from group_text_parse_tree.cpp:3:0:
group_text_parse_tree.h: In constructor 'CGroupTextParseTreeLoader::CGroupTextPa                                                           rseTreeLoader()':
group_text_parse_tree.h:93:13: warning: 'CGroupTextParseTreeLoader::m_dwcurLineI                                                           ndex' will be initialized after [-Wreorder]
  DWORD      m_dwcurLineIndex;
             ^
group_text_parse_tree.h:91:18: warning:   'CGroupNode* CGroupTextParseTreeLoader                                                           ::m_pRootGroupNode' [-Wreorder]
  CGroupNode *    m_pRootGroupNode;
                  ^
group_text_parse_tree.cpp:5:1: warning:   when initialized here [-Wreorder]
 CGroupTextParseTreeLoader::CGroupTextParseTreeLoader()
 ^
group_text_parse_tree.cpp: In member function 'bool CGroupTextParseTreeLoader::L                                                           oadGroup(CGroupNode*)':
group_text_parse_tree.cpp:99:22: warning: comparison between signed and unsigned                                                            integer expressions [-Wsign-compare]
    for (int i = 1; i < stTokenVector.size(); i++)
                      ^
group_text_parse_tree.cpp: In member function 'bool CGroupNode::GetRow(int, cons                                                           t CGroupNode::CGroupNodeRow**) const':
group_text_parse_tree.cpp:206:10: warning: comparison between signed and unsigne                                                           d integer expressions [-Wsign-compare]
  if (idx >= m_map_rows.size())
          ^
In file included from ../../../Extern/include/cryptopp/modes.h:12:0,
                 from cipher.cpp:7:
../../../Extern/include/cryptopp/algparam.h: In instantiation of 'void CryptoPP:                                                           :AlgorithmParametersTemplate<T>::MoveInto(void*) const [with T = CryptoPP::Rando                                                           mNumberGenerator*]':
cipher.cpp:398:1:   required from here
../../../Extern/include/cryptopp/algparam.h:322:35: warning: unused variable 'p'                                                            [-Wunused-variable]
   AlgorithmParametersTemplate<T>* p = new(buffer) AlgorithmParametersTemplate<T                                                           >(*this);
                                   ^
In file included from ../../../Extern/include/boost/config.hpp:57:0,
                 from ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:                                                           16,
                 from ../../../Extern/include/boost/intrusive_ptr.hpp:16,
                 from event.h:10,
                 from stdafx.h:39,
                 from dragon_soul_table.cpp:1:
../../../Extern/include/boost/lexical_cast.hpp: In function 'CharT* boost::detai                                                           l::lcast_put_unsigned(T, CharT*)':
../../../Extern/include/boost/static_assert.hpp:119:21: warning: typedef 'boost_                                                           static_assert_typedef_512' locally defined but not used [-Wunused-local-typedefs                                                           ]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
../../../Extern/include/boost/config/suffix.hpp:578:32: note: in definition of m                                                           acro 'BOOST_DO_JOIN2'
 #define BOOST_DO_JOIN2( X, Y ) X##Y
                                ^
../../../Extern/include/boost/config/suffix.hpp:576:28: note: in expansion of ma                                                           cro 'BOOST_DO_JOIN'
 #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
                            ^
../../../Extern/include/boost/static_assert.hpp:119:10: note: in expansion of ma                                                           cro 'BOOST_JOIN'
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
          ^
../../../Extern/include/boost/lexical_cast.hpp:512:13: note: in expansion of mac                                                           ro 'BOOST_STATIC_ASSERT'
             BOOST_STATIC_ASSERT(!std::numeric_limits<T>::is_signed);
             ^
../../../Extern/include/boost/static_assert.hpp:119:21: warning: typedef 'boost_                                                           static_assert_typedef_529' locally defined but not used [-Wunused-local-typedefs                                                           ]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
../../../Extern/include/boost/config/suffix.hpp:578:32: note: in definition of m                                                           acro 'BOOST_DO_JOIN2'
 #define BOOST_DO_JOIN2( X, Y ) X##Y
                                ^
../../../Extern/include/boost/config/suffix.hpp:576:28: note: in expansion of ma                                                           cro 'BOOST_DO_JOIN'
 #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
                            ^
../../../Extern/include/boost/static_assert.hpp:119:10: note: in expansion of ma                                                           cro 'BOOST_JOIN'
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
          ^
../../../Extern/include/boost/lexical_cast.hpp:529:13: note: in expansion of mac                                                           ro 'BOOST_STATIC_ASSERT'
             BOOST_STATIC_ASSERT(std::numeric_limits<T>::digits10 < CHAR_MAX);
             ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalA                                                           pplys()':
dragon_soul_table.cpp:223:20: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
  for (int i = 0; i < m_vecDragonSoulNames.size(); i++)
                    ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckApplyNumSe                                                           ttings()':
dragon_soul_table.cpp:283:21: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
   for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                     ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckWeightTabl                                                           es()':
dragon_soul_table.cpp:311:21: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
   for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                     ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineGrad                                                           eTables()':
dragon_soul_table.cpp:343:21: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
   for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                     ^
dragon_soul_table.cpp:372:23: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
     for (int k = 0; k < vec_probs.size(); k++)
                       ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRefineStep                                                           Tables()':
dragon_soul_table.cpp:397:21: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
   for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                     ^
dragon_soul_table.cpp:427:23: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
     for (int k = 0; k < vec_probs.size(); k++)
                       ^
In file included from ../../../Extern/include/cryptopp/modes.h:8:0,
                 from cipher.cpp:7:
../../../Extern/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::Allo                                                           catorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Alig                                                           n16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const vo                                                           id*) [with T = unsigned int; bool T_Align16 = false; CryptoPP::AllocatorWithClea                                                           nup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_                                                           Align16>::size_type = unsigned int]':
../../../Extern/include/cryptopp/secblock.h:247:25:   required from 'CryptoPP::S                                                           ecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned                                                            int; A = CryptoPP::AllocatorWithCleanup<unsigned int>; CryptoPP::SecBlock<T, A>:                                                           :size_type = unsigned int]'
../../../Extern/include/cryptopp/rc5.h:22:27:   required from 'CryptoPP::BlockCi                                                           pherFinal<DIR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (Crypto                                                           PP::CipherDir)0u; BASE = CryptoPP::RC5::Enc]'
../../..dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckRe                                                           fineStrengthTables()':
dragon_soul_table.cpp:453:20: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
  for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                    ^
/Extern/include/cryptopp/misc.h:82:7:   required from 'CryptoPP::CipherModeFinal                                                           Template_CipherHolder<CIPHER, BASE>::CipherModeFinalTemplate_CipherHolder(const                                                            byte*, size_t, const byte*) [with CIPHER = CryptoPP::BlockCipherFinal<(CryptoPP:                                                           :CipherDir)0u, CryptoPP::RC5::Enc>; BASE = CryptoPP::ConcretePolicyHolder<Crypto                                                           PP::Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<Crypt                                                           oPP::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> > >; byte = unsigne                                                           d char; size_t = unsigned int]'
cipher.cpp:88:64:   required from 'CryptoPP::SymmetricCipher* BlockCipherDetail<                                                           T>::CreateEncoder(const byte*, size_t, const byte*) const [with T = CryptoPP::RC                                                           5; byte = unsigned char; size_t = unsigned int]'
cipher.cpp:398:1:   required from here
../../../Extern/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not de                                                           clared in this scope, and no declarations were found by argument-dependent looku                                                           p at the point of instantiation [-fpermissive]
   CheckSize(n);
              ^
../../../Extern/include/cryptopp/secblock.h:91:14: note: declarations in depende                                                           nt base 'CryptoPP::AllocatorBase<unsigned int>' are not found by unqualified loo                                                           kup
../../../Extern/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' i                                                           nstead
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonHear                                                           tExtTables()':
dragon_soul_table.cpp:494:20: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
  for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                    ^
dragon_soul_table.cpp:513:22: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
    for (int k = 0; k < vec_chargings.size(); k++)
                      ^
dragon_soul_table.cpp:522:22: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
    for (int k = 0; k < vec_probs.size(); k++)
                      ^
dragon_soul_table.cpp: In member function 'bool DragonSoulTable::CheckDragonSoul                                                           ExtTables()':
dragon_soul_table.cpp:545:20: warning: comparison between signed and unsigned in                                                           teger expressions [-Wsign-compare]
  for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
                    ^
In file included from ClientPackageCryptInfo.cpp:2:0:
ClientPackageCryptInfo.h: In constructor 'CClientPackageCryptInfo::CClientPackag                                                           eCryptInfo()':
ClientPackageCryptInfo.h:50:12: warning: 'CClientPackageCryptInfo::m_pSerialized                                                           CryptKeyStream' will be initialized after [-Wreorder]
  BYTE*     m_pSerializedCryptKeyStream;
            ^
ClientPackageCryptInfo.h:48:11: warning:   'int CClientPackageCryptInfo::m_nCryp                                                           tKeyPackageCnt' [-Wreorder]
  int      m_nCryptKeyPackageCnt;
           ^
ClientPackageCryptInfo.cpp:9:1: warning:   when initialized here [-Wreorder]
 CClientPackageCryptInfo::CClientPackageCryptInfo() : m_pSerializedCryptKeyStrea                                                           m(NULL), m_nCryptKeyPackageCnt(0)
 ^
In file included from dragon_soul_table.cpp:3:0:
group_text_parse_tree.h: In instantiation of 'bool CGroupNode::CGroupNodeRow::Ge                                                           tValue(const string&, T&) const [with T = std::basic_string<char>; std::string =                                                            std::basic_string<char>]':
dragon_soul_table.cpp:129:58:   required from here
group_text_parse_tree.h:220:21: warning: comparison between signed and unsigned                                                            integer expressions [-Wsign-compare]
  if (idx < 0 || idx >= m_vec_values.size())
                     ^
group_text_parse_tree.h: In instantiation of 'bool CGroupNode::CGroupNodeRow::Ge                                                           tValue(const string&, T&) const [with T = unsigned char; std::string = std::basi                                                           c_string<char>]':
dragon_soul_table.cpp:134:37:   required from here
group_text_parse_tree.h:220:21: warning: comparison between signed and unsigned                                                            integer expressions [-Wsign-compare]
group_text_parse_tree.h: In instantiation of 'bool CGroupNode::CGroupNodeRow::Ge                                                           tValue(const string&, T&) const [with T = int; std::string = std::basic_string<c                                                           har>]':
dragon_soul_table.cpp:201:41:   required from here
group_text_parse_tree.h:220:21: warning: comparison between signed and unsigned                                                            integer expressions [-Wsign-compare]
group_text_parse_tree.h: In instantiation of 'bool CGroupNode::CGroupNodeRow::Ge                                                           tValue(const string&, T&) const [with T = float; std::string = std::basic_string                                                           <char>]':
dragon_soul_table.cpp:260:36:   required from here
group_text_parse_tree.h:220:21: warning: comparison between signed and unsigned                                                            integer expressions [-Wsign-compare]
group_text_parse_tree.h: In instantiation of 'bool CGroupNode::CGroupNodeRow::Ge                                                           tValue(int, T&) const [with T = float]':
dragon_soul_table.cpp:828:42:   required from here
group_text_parse_tree.h:228:21: warning: comparison between signed and unsigned                                                            integer expressions [-Wsign-compare]
  if (idx < 0 || idx >= m_vec_values.size())
                     ^
group_text_parse_tree.h: In instantiation of 'bool CGroupNode::CGroupNodeRow::Ge                                                           tValue(int, T&) const [with T = int]':
group_text_parse_tree.h:159:46:   required from 'bool CGroupNode::GetValue(const                                                            string&, const string&, T&) const [with T = int; std::string = std::basic_strin                                                           g<char>]'
group_text_parse_tree.h:203:3:   required from 'bool CGroupNode::GetGroupValue(c                                                           onst string&, const string&, const string&, T&) const [with T = int; std::string                                                            = std::basic_string<char>]'
dragon_soul_table.cpp:612:104:   required from here
group_text_parse_tree.h:228:21: warning: comparison between signed and unsigned                                                            integer expressions [-Wsign-compare]
group_text_parse_tree.h: In instantiation of 'bool CGroupNode::CGroupNodeRow::Ge                                                           tValue(int, T&) const [with T = unsigned int]':
group_text_parse_tree.h:159:46:   required from 'bool CGroupNode::GetValue(const                                                            string&, const string&, T&) const [with T = unsigned int; std::string = std::ba                                                           sic_string<char>]'
group_text_parse_tree.h:203:3:   required from 'bool CGroupNode::GetGroupValue(c                                                           onst string&, const string&, const string&, T&) const [with T = unsigned int; st                                                           d::string = std::basic_string<char>]'
dragon_soul_table.cpp:884:116:   required from here
group_text_parse_tree.h:228:21: warning: comparison between signed and unsigned                                                            integer expressions [-Wsign-compare]
buff_on_attributes.cpp: In member function 'void CBuffOnAttributes::ChangeBuffVa                                                           lue(BYTE)':
buff_on_attributes.cpp:113:8: warning: unused variable 'old_value' [-Wunused-var                                                           iable]
    int old_value = sum_of_attr_value * m_bBuffValue / 100;
        ^
buff_on_attributes.cpp:114:8: warning: unused variable 'new_value' [-Wunused-var                                                           iable]
    int new_value = sum_of_attr_value * bNewValue / 100;
        ^
In file included from ../../../Extern/include/cryptopp/secblock.h:7:0,
                 from ../../../Extern/include/cryptopp/modes.h:8,
                 from cipher.cpp:7:
../../../Extern/include/cryptopp/misc.h:548:20: warning: 'std::string CryptoPP::                                                           StringNarrow(const wchar_t*, bool)' defined but not used [-Wunused-function]
 static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
                    ^
gmake: *** [Makefile:119: OBJDIR/cipher.o] Error 1
In file included from ../../../Extern/include/boost/config.hpp:57:0,
                 from ../../../Extern/include/boost/smart_ptr/intrusive_ptr.hpp:                                                           16,
                 from ../../../Extern/include/boost/intrusive_ptr.hpp:16,
                 from event.h:10,
                 from stdafx.h:39,
                 from DragonSoul.cpp:1:
../../../Extern/include/boost/lexical_cast.hpp: In function 'CharT* boost::detai                                                           l::lcast_put_unsigned(T, CharT*)':
../../../Extern/include/boost/static_assert.hpp:119:21: warning: typedef 'boost_                                                           static_assert_typedef_512' locally defined but not used [-Wunused-local-typedefs                                                           ]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
../../../Extern/include/boost/config/suffix.hpp:578:32: note: in definition of m                                                           acro 'BOOST_DO_JOIN2'
 #define BOOST_DO_JOIN2( X, Y ) X##Y
                                ^
../../../Extern/include/boost/config/suffix.hpp:576:28: note: in expansion of ma                                                           cro 'BOOST_DO_JOIN'
 #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
                            ^
../../../Extern/include/boost/static_assert.hpp:119:10: note: in expansion of ma                                                           cro 'BOOST_JOIN'
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
          ^
../../../Extern/include/boost/lexical_cast.hpp:512:13: note: in expansion of mac                                                           ro 'BOOST_STATIC_ASSERT'
             BOOST_STATIC_ASSERT(!std::numeric_limits<T>::is_signed);
             ^
../../../Extern/include/boost/static_assert.hpp:119:21: warning: typedef 'boost_                                                           static_assert_typedef_529' locally defined but not used [-Wunused-local-typedefs                                                           ]
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
                     ^
../../../Extern/include/boost/config/suffix.hpp:578:32: note: in definition of m                                                           acro 'BOOST_DO_JOIN2'
 #define BOOST_DO_JOIN2( X, Y ) X##Y
                                ^
../../../Extern/include/boost/config/suffix.hpp:576:28: note: in expansion of ma                                                           cro 'BOOST_DO_JOIN'
 #define BOOST_JOIN( X, Y ) BOOST_DO_JOIN( X, Y )
                            ^
../../../Extern/include/boost/static_assert.hpp:119:10: note: in expansion of ma                                                           cro 'BOOST_JOIN'
          BOOST_JOIN(boost_static_assert_typedef_, __LINE__)
          ^
../../../Extern/include/boost/lexical_cast.hpp:529:13: note: in expansion of mac                                                           ro 'BOOST_STATIC_ASSERT'
             BOOST_STATIC_ASSERT(std::numeric_limits<T>::digits10 < CHAR_MAX);
             ^
DragonSoul.cpp: In function 'int Gamble(std::vector<float>&)':
DragonSoul.cpp:19:20: warning: comparison between signed and unsigned integer ex                                                           pressions [-Wsign-compare]
  for (int i = 0; i < vec_probs.size(); i++)
                    ^
DragonSoul.cpp:25:24: warning: comparison between signed and unsigned integer ex                                                           pressions [-Wsign-compare]
  for (int idx = 0; idx < vec_probs.size(); idx++)
                        ^
DragonSoul.cpp: In member function 'bool DSManager::RefreshItemAttributes(LPITEM                                                           )':
DragonSoul.cpp:203:21: warning: comparison between signed and unsigned integer e                                                           xpressions [-Wsign-compare]
   for (int j = 0; j < vec_addtional_applys.size(); j++)
                     ^
DragonSoul.cpp: In member function 'bool DSManager::PutAttributes(LPITEM)':
DragonSoul.cpp:273:21: warning: comparison between signed and unsigned integer e                                                           xpressions [-Wsign-compare]
   for (int i = 0; i < vec_addtional_applys.size(); i++)
                     ^
DragonSoul.cpp: In member function 'bool DSManager::ExtractDragonHeart(LPCHARACT                                                           ER, LPITEM, LPITEM)':
DragonSoul.cpp:350:8: warning: unused variable 'sum' [-Wunused-variable]
  float sum = 0.f;
        ^
DragonSoul.cpp: In member function 'bool DSManager::PullOut(LPCHARACTER, TItemPo                                                           s, CItem*&, LPITEM)':
DragonSoul.cpp:435:9: warning: unused variable 'dwVnum' [-Wunused-variable]
   DWORD dwVnum = pItem->GetVnum();
         ^
DragonSoul.cpp:469:51: warning: format '%d' expects argument of type 'int', but                                                            argument 3 has type 'double' [-Wformat=]
     sprintf(buf, "dice(%d) prob(%d)", fDice, fProb);
                                                   ^
DragonSoul.cpp:469:51: warning: format '%d' expects argument of type 'int', but                                                            argument 4 has type 'double' [-Wformat=]
DragonSoul.cpp: In member function 'bool DSManager::DoRefineGrade(LPCHARACTER, T                                                           ItemPos (&)[15])':
DragonSoul.cpp:555:8: warning: unused variable 'prob_sum' [-Wunused-variable]
  float prob_sum;
        ^
DragonSoul.cpp: In member function 'bool DSManager::DoRefineStep(LPCHARACTER, TI                                                           temPos (&)[15])':
DragonSoul.cpp:763:8: warning: unused variable 'sum' [-Wunused-variable]
  float sum = 0.f;

 

 

 

FreeBSD 10.3 32 BIT

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.