Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@:~ # cd /usr/src/Server/game/src
- root@:/usr/src/Server/game/src # gmake clean
- root@:/usr/src/Server/game/src # gmake -j20
- compile BattleArena.cpp
- compile FSM.cpp
- compile MarkConvert.cpp
- compile MarkImage.cpp
- compile MarkManager.cpp
- compile OXEvent.cpp
- compile TrafficProfiler.cpp
- compile ani.cpp
- compile arena.cpp
- compile banword.cpp
- compile battle.cpp
- compile blend_item.cpp
- compile block_country.cpp
- compile buffer_manager.cpp
- compile building.cpp
- compile castle.cpp
- compile char.cpp
- compile char_affect.cpp
- compile char_battle.cpp
- compile char_change_empire.cpp
- compile char_horse.cpp
- char.cpp:7715:3: warning: this decimal constant is unsigned only in ISO C90 [ena bled by default]
- return 2500000000;
- ^
- char_battle.cpp: In member function 'void CHARACTER::Reward(bool)':
- char_battle.cpp:781:6: warning: suggest explicit braces to avoid ambiguous 'else ' [-Wparentheses]
- if (GetLevel() - pkAttacker->GetLevel() >= -10)
- ^
- char.cpp: In member function 'int CHARACTER::GetPolymorphPoint(BYTE) const':
- char.cpp:2953: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:3161:30: warning: comparison between signed and unsigned integer expres sions [-Wsign-compare]
- if (amount < 0 && exp < -amount)
- ^
- char.cpp: In member function 'void CHARACTER::SetTarget(LPCHARACTER)':
- char.cpp:5596:29: warning: suggest parentheses around '&&' within '||' [-Wparent heses]
- if (m_pkChrTarget->IsPC() && !m_pkChrTarget->IsPolymorphed() || m_pkChrTarget ->GetMaxHP() <= 0)
- ^
- char.cpp: In member function 'bool CHARACTER::CanSummon(int)':
- char.cpp:6782:49: warning: suggest parentheses around '&&' within '||' [-Wparent heses]
- return (iLeaderShip >= 20 || iLeaderShip >= 12 && m_dwLastDeadTime + 180 > get _dword_time());
- ^
- compile char_item.cpp
- compile char_manager.cpp
- compile char_quickslot.cpp
- compile char_resist.cpp
- compile char_skill.cpp
- compile char_state.cpp
- compile PetSystem.cpp
- compile cmd.cpp
- compile cmd_emotion.cpp
- compile cmd_general.cpp
- compile cmd_gm.cpp
- In file included from ../../libthecore/include/stdafx.h:141:0,
- from stdafx.h:9,
- from char_item.cpp:1:
- belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper: :TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
- ../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define _countof(_Array) sizeof(*__countof_helper(_Array))
- ^
- belt_inventory_helper.h:28:16: note: in expansion of macro '_countof'
- if (level >= _countof(beltGradeByLevelTable))
- ^
- char_item.cpp: In member function 'bool CHARACTER::UseItemEx(LPITEM, TItemPos)':
- char_item.cpp:2005: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);
- ^
- char_item.cpp:2069: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:2429: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:2433: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:2445: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:2449: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:2476: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:2484: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:3671: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:3675:53: warning: suggest parentheses around '&&' within '||' [-Wp arentheses]
- if (item->GetVnum() == ITEM_VALENTINE_ROSE && SEX_MALE==GET_SEX(this) ||
- ^
- char_item.cpp:3695: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:3699:53: warning: suggest parentheses around '&&' within '||' [-Wp arentheses]
- if (item->GetVnum() == ITEM_WHITEDAY_CANDY && SEX_MALE==GET_SEX(this) ||
- ^
- char_item.cpp:3718: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);
- ^
- In file included from ../../libthecore/include/stdafx.h:141:0,
- from stdafx.h:9,
- from char_item.cpp:1:
- ../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define _countof(_Array) sizeof(*__countof_helper(_Array))
- ^
- char_item.cpp:5131:31: note: in expansion of macro '_countof'
- if (item->GetSocket(0) >= _countof(aApplyInfo))
- ^
- char_item.cpp:1707: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:5357:22: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
- if (item->GetVnum() == 50200 | item->GetVnum() == 71049)
- ^
- char_item.cpp:5203:7: warning: unused variable 'wDestCell' [-Wunused-variable]
- WORD wDestCell = DestCell.cell;
- ^
- char_item.cpp:5204: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:6214: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:6299:79: 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:6311:79: 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 cmd_oxevent.cpp
- 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)
- ^
- 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)
- ^
- char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYT E, int) const':
- char_item.cpp:680:1: warning: control reaches end of non-void function [-Wreturn -type]
- }
- ^
- compile config.cpp
- compile constants.cpp
- PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
- PetSystem.cpp:257:7: warning: unused variable 'bDoMoveAlone' [-Wunused-variable]
- bool bDoMoveAlone = true; // ij▒▒▒Ϳ▒ ▒▒▒▒▒▒ ▒▒▒ ▒▒ ȥ▒▒ ▒▒▒▒▒▒▒ ▒▒▒▒▒ϰ▒▒▒ ▒▒ ▒▒ -_-;
- ^
- PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, LPITEM, const char*, bool, DWORD)':
- PetSystem.cpp:563:8: warning: unused variable 'petVID' [-Wunused-variable]
- DWORD petVID = petActor->Summon(petName, pSummonItem, bSpawnFar);
- ^
- 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();
- ^
- compile crc32.cpp
- compile cube.cpp
- compile damage_top.cpp
- compile db.cpp
- compile desc.cpp
- compile desc_client.cpp
- compile desc_manager.cpp
- compile desc_p2p.cpp
- compile dev_log.cpp
- compile dungeon.cpp
- 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;
- ^
- constants.cpp:291:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000, // 100
- ^
- constants.cpp:292:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:293:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:294:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:295:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:296:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000, // 105
- ^
- constants.cpp:297:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:298:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:299:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:300:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:301:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000, // 110
- ^
- constants.cpp:302:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:303:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:304:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:305:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:306:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000, // 115
- ^
- constants.cpp:307:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:308:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:309:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:310:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:311:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000, // 120
- ^
- constants.cpp:312:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:313:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:314:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:315:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:316:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000, // 125
- ^
- constants.cpp:317:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:318:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:319:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:320:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:321:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000, // 130
- ^
- constants.cpp:322:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2266500000,
- ^
- constants.cpp:323:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2268000000,
- ^
- constants.cpp:324:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2269500000,
- ^
- constants.cpp:325:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2271000000,
- ^
- constants.cpp:326:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2272500000, // 135
- ^
- constants.cpp:327:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2274000000,
- ^
- constants.cpp:328:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2275500000,
- ^
- constants.cpp:329:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2277000000,
- ^
- constants.cpp:330:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2278500000,
- ^
- constants.cpp:331:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2280000000, // 140
- ^
- constants.cpp:332:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2281800000,
- ^
- constants.cpp:333:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2283600000,
- ^
- constants.cpp:334:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2285400000,
- ^
- constants.cpp:335:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2287200000,
- ^
- constants.cpp:336:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2289000000, // 145
- ^
- constants.cpp:337:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2290800000,
- ^
- constants.cpp:338:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2292600000,
- ^
- constants.cpp:339:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2294400000,
- ^
- constants.cpp:340:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2296200000,
- ^
- constants.cpp:341:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2298000000, // 150
- ^
- constants.cpp:342:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2299800000,
- ^
- constants.cpp:343:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2301600000,
- ^
- constants.cpp:344:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2303400000,
- ^
- constants.cpp:345:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2305200000,
- ^
- constants.cpp:346:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2307000000, // 155
- ^
- constants.cpp:347:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2308800000,
- ^
- constants.cpp:348:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2310600000,
- ^
- constants.cpp:349:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2312400000,
- ^
- constants.cpp:350:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2314200000,
- ^
- constants.cpp:351:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2316000000, // 160
- ^
- constants.cpp:352:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2317800000,
- ^
- constants.cpp:353:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2319600000,
- ^
- constants.cpp:354:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2321400000,
- ^
- constants.cpp:355:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2323200000,
- ^
- constants.cpp:356:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2325000000, // 165
- ^
- constants.cpp:357:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2326800000,
- ^
- constants.cpp:358:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2328600000,
- ^
- constants.cpp:359:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2330400000,
- ^
- constants.cpp:360:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2332200000,
- ^
- constants.cpp:361:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2334000000, // 170
- ^
- constants.cpp:362:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2335800000,
- ^
- constants.cpp:363:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2337600000,
- ^
- constants.cpp:364:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2339400000,
- ^
- constants.cpp:365:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2341200000,
- ^
- constants.cpp:366:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2343000000, // 175
- ^
- constants.cpp:367:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2344800000,
- ^
- constants.cpp:368:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2346600000,
- ^
- constants.cpp:369:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2348400000,
- ^
- constants.cpp:370:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2350200000,
- ^
- constants.cpp:371:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2352000000, // 180
- ^
- constants.cpp:372:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2353800000,
- ^
- constants.cpp:373:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2355600000,
- ^
- constants.cpp:374:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2357400000,
- ^
- constants.cpp:375:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2359200000,
- ^
- constants.cpp:376:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2361000000, // 185
- ^
- constants.cpp:377:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2362800000,
- ^
- constants.cpp:378:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2364600000,
- ^
- constants.cpp:379:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2366400000,
- ^
- constants.cpp:380:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2368200000,
- ^
- constants.cpp:381:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2370000000, // 190
- ^
- constants.cpp:382:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2371800000,
- ^
- constants.cpp:383:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2373600000,
- ^
- constants.cpp:384:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2375400000,
- ^
- constants.cpp:385:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2377200000,
- ^
- constants.cpp:386:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2379000000, // 195
- ^
- constants.cpp:387:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2380800000,
- ^
- constants.cpp:388:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2382600000,
- ^
- constants.cpp:389:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2384400000,
- ^
- constants.cpp:390:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2386200000,
- ^
- constants.cpp:391:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2388000000, // 200
- ^
- constants.cpp:392:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2389800000,
- ^
- constants.cpp:393:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2391600000,
- ^
- constants.cpp:394:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2393400000,
- ^
- constants.cpp:395:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2395200000,
- ^
- constants.cpp:396:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2397000000, // 205
- ^
- constants.cpp:397:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2398800000,
- ^
- constants.cpp:398:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2400600000,
- ^
- constants.cpp:399:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2402400000,
- ^
- constants.cpp:400:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2404200000,
- ^
- constants.cpp:401:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2406000000, // 210
- ^
- constants.cpp:402:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2407800000,
- ^
- constants.cpp:403:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2409600000,
- ^
- constants.cpp:404:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2411400000,
- ^
- constants.cpp:405:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2413200000,
- ^
- constants.cpp:406:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2415000000, // 215
- ^
- constants.cpp:407:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2416800000,
- ^
- constants.cpp:408:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2418600000,
- ^
- constants.cpp:409:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2420400000,
- ^
- constants.cpp:410:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2422200000,
- ^
- constants.cpp:411:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2424000000, // 220
- ^
- constants.cpp:412:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2425800000,
- ^
- constants.cpp:413:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2427600000,
- ^
- constants.cpp:414:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2429400000,
- ^
- constants.cpp:415:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2431200000,
- ^
- constants.cpp:416:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2433000000, // 225
- ^
- constants.cpp:417:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2434800000,
- ^
- constants.cpp:418:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2436600000,
- ^
- constants.cpp:419:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2438400000,
- ^
- constants.cpp:420:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2440200000,
- ^
- constants.cpp:421:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2442000000, // 230
- ^
- constants.cpp:422:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2443800000,
- ^
- constants.cpp:423:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2445600000,
- ^
- constants.cpp:424:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2447400000,
- ^
- constants.cpp:425:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2449200000,
- ^
- constants.cpp:426:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2451000000, // 235
- ^
- constants.cpp:427:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2452800000,
- ^
- constants.cpp:428:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2454600000,
- ^
- constants.cpp:429:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2456400000,
- ^
- constants.cpp:430:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2458200000,
- ^
- constants.cpp:431:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2460000000, // 240
- ^
- constants.cpp:432:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2461800000,
- ^
- constants.cpp:433:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2463600000,
- ^
- constants.cpp:434:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2465400000,
- ^
- constants.cpp:435:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2467200000,
- ^
- constants.cpp:436:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2469000000, // 245
- ^
- constants.cpp:437:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2470800000,
- ^
- constants.cpp:438:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2472600000,
- ^
- constants.cpp:439:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2474400000,
- ^
- constants.cpp:440:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2478000000,
- ^
- constants.cpp:441:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000, // 250
- ^
- constants.cpp:442:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:443:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:444:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:445:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000,
- ^
- constants.cpp:446:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
- 2500000000, // 255
- ^
- compile entity.cpp
- compile empire_text_convert.cpp
- 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;
- ^
- compile entity_view.cpp
- damage_top.cpp: In member function 'TDamage CDamageTop::GetDamage(LPCHARACTER, B YTE)':
- damage_top.cpp:64:39: warning: comparison between signed and unsigned integer ex pressions [-Wsign-compare]
- for(int i = 0; i < vecDamageTop.size(); i++)
- ^
- damage_top.cpp: In member function 'void CDamageTop::UpdateDamage(LPCHARACTER, L PCHARACTER, BYTE, DWORD)':
- damage_top.cpp:81:39: warning: comparison between signed and unsigned integer ex pressions [-Wsign-compare]
- for(int i = 0; i < vecDamageTop.size(); i++)
- ^
- damage_top.cpp: In member function 'void CDamageTop::UpdateDamageExtern(LPDESC, const char*)':
- damage_top.cpp:112:41: warning: comparison between signed and unsigned integer e xpressions [-Wsign-compare]
- for (int i = 0; i < vecDamageTop.size(); i++)
- ^
- damage_top.cpp: In member function 'void CDamageTop::GetSendVector(std::vector<S Damage>&)':
- damage_top.cpp:241:39: warning: comparison between signed and unsigned integer e xpressions [-Wsign-compare]
- for(int i = 0; i < vecDamageTop.size(); i++)
- ^
- cube.cpp: In function 'bool Cube_make(LPCHARACTER)':
- cube.cpp:552:34: warning: comparison between signed and unsigned integer express ions [-Wsign-compare]
- if (ch->GetGold() < cube_proto->gold)
- ^
- compile event.cpp
- cube.cpp: In function 'void Cube_MakeCubeInformationText()':
- cube.cpp:724:16: warning: unused variable 'npcVNUM' [-Wunused-variable]
- const DWORD& npcVNUM = iter->first;
- ^
- cube.cpp: In function 'bool Cube_InformationInitialize()':
- cube.cpp:791:40: warning: comparison between signed and unsigned integer express ions [-Wsign-compare]
- for (int i = 0; i < s_cube_proto.size(); ++i)
- ^
- 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_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;
- ^
- 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;
- ^
- desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD , bool)':
- desc_client.cpp:299:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- if (fForce || m_tLastChannelStatusUpdateTime+CHANNELSTATUS_UPDATE_PERIOD < t) {
- ^
- compile event_queue.cpp
- compile exchange.cpp
- compile file_loader.cpp
- cmd_gm.cpp: In function 'void do_set_stat(LPCHARACTER, const char*, int, int)':
- cmd_gm.cpp:4098:17: warning: NULL used in arithmetic [-Wpointer-arith]
- if (*szName == NULL || *szChangeAmount == '\0')
- ^
- compile fishing.cpp
- compile gm.cpp
- config.cpp: In function 'void config_init(const string&)':
- config.cpp:378:22: warning: NULL used in arithmetic [-Wpointer-arith]
- if (NULL != line[0])
- ^
- config.cpp:402:22: warning: NULL used in arithmetic [-Wpointer-arith]
- if (NULL != line[0])
- ^
- config.cpp:426:22: warning: NULL used in arithmetic [-Wpointer-arith]
- if (NULL != line[0])
- ^
- config.cpp:448: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 guild.cpp
- compile guild_manager.cpp
- 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 guild_war.cpp
- compile horse_rider.cpp
- compile horsename_manager.cpp
- compile input.cpp
- compile input_auth.cpp
- cmd_gm.cpp: In function 'void do_mob_ld(LPCHARACTER, const char*, int, int)':
- cmd_gm.cpp:869:6: warning: 'y' may be used uninitialized in this function [-Wmay be-uninitialized]
- dir);
- ^
- cmd_gm.cpp:869:6: warning: 'x' may be used uninitialized in this function [-Wmay be-uninitialized]
- compile input_db.cpp
- compile input_login.cpp
- compile input_main.cpp
- cmd_gm.cpp: In function 'void do_use_item(LPCHARACTER, const char*, int, int)':
- cmd_gm.cpp:4614:41: warning: 'cell' may be used uninitialized in this function [ -Wmaybe-uninitialized]
- LPITEM item = ch->GetInventoryItem(cell);
- ^
- compile input_p2p.cpp
- compile input_teen.cpp
- compile input_udp.cpp
- compile ip_ban.cpp
- compile item.cpp
- compile item_addon.cpp
- 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:463:8: warning: unused variable 'last' [-Wunused-variable]
- char *last = 0;
- ^
- compile item_attribute.cpp
- 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;
- ^
- compile item_manager.cpp
- compile item_manager_idrange.cpp
- compile locale.cpp
- 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;
- ^
- 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;
- ^
- compile locale_service.cpp
- compile log.cpp
- 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;
- ^
- 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;
- ^
- In file included from ../../libthecore/include/stdafx.h:141:0,
- from stdafx.h:9,
- from item.cpp:1:
- belt_inventory_helper.h: In static member function 'static CBeltInventoryHelper: :TGradeUnit CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
- ../../libthecore/include/utils.h:143:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- #define _countof(_Array) sizeof(*__countof_helper(_Array))
- ^
- belt_inventory_helper.h:28:16: note: in expansion of macro '_countof'
- if (level >= _countof(beltGradeByLevelTable))
- ^
- In file included from item.cpp:17:0:
- item.h: In constructor 'CItem::CItem(DWORD)':
- item.h:290:12: warning: 'CItem::m_pkRealTimeExpireEvent' will be initialized aft er [-Wreorder]
- LPEVENT m_pkRealTimeExpireEvent;
- ^
- item.h:287: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 member function 'bool CItem::AddToCharacter(LPCHARACTER, TItemPos)' :
- item.cpp:364:7: warning: unused variable 'bWereMine' [-Wunused-variable]
- bool bWereMine = this->GetLastOwnerPID() == ch->GetPlayerID();
- ^
- item.cpp: In function 'const bool CanPutIntoRing(LPITEM, LPITEM)':
- item.cpp:1769:14: warning: unused variable 'vnum' [-Wunused-variable]
- const DWORD vnum = item->GetVnum();
- ^
- 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;
- ^
- item.cpp: In member function 'bool CItem::CanPutInto(LPITEM)':
- item.cpp:1802:53: 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:2058:21: warning: comparison between signed and unsigned integer expres sions [-Wsign-compare]
- if (remain_sec == duration)
- ^
- item.cpp:2060:36: 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:2082:21: 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:2113:69: warning: array subscript has type 'char' [-Wchar-subscripts]
- return GetProto()->aLimits[GetProto()->cLimitTimerBasedOnWearIndex].lValue;
- ^
- 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 login_data.cpp
- item_manager.cpp: In member function 'TItemTable* ITEM_MANAGER::GetTable(DWORD)' :
- item_manager.cpp:607:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
- for (int i = 0; i < m_vec_item_vnum_range_info.size(); i++)
- ^
- compile lzo_manager.cpp
- compile marriage.cpp
- input_main.cpp: In member function 'int CInputMain::Chat(LPCHARACTER, const char *, size_t)':
- input_main.cpp:745:7: warning: unused variable 'len_global' [-Wunused-variable]
- int len_global = snprintf(chatbuf_global, sizeof(chatbuf_global), "%s %s", ki ngdoms[ch->GetEmpire() - 1], chatbuf);
- ^
- input_p2p.cpp: In member function 'void CInputP2P::OfflineShopBuy(LPDESC, const char*)':
- input_p2p.cpp:508:28: warning: unused variable 'p' [-Wunused-variable]
- TPacketGGOfflineShopBuy * p = (TPacketGGOfflineShopBuy *)c_pData;
- ^
- compile messenger_manager.cpp
- compile mining.cpp
- compile mob_manager.cpp
- compile monarch.cpp
- compile motion.cpp
- compile over9refine.cpp
- compile p2p.cpp
- compile packet_info.cpp
- compile party.cpp
- compile passpod.cpp
- compile pcbang.cpp
- compile matrix_card.cpp
- compile polymorph.cpp
- compile priv_manager.cpp
- compile pvp.cpp
- compile questevent.cpp
- pvp.cpp: In member function 'bool CPVPManager::CanAttack(LPCHARACTER, LPCHARACTE R)':
- pvp.cpp:503:46: warning: suggest parentheses around '&&' within '||' [-Wparenthe ses]
- if ( pkChr->GetPKMode() == PK_MODE_PROTECT && pkChr->GetEmpire() == bMapEmpir e ||
- ^
- compile questlua.cpp
- compile questlua_affect.cpp
- compile questlua_arena.cpp
- compile questlua_ba.cpp
- compile questlua_building.cpp
- compile questlua_danceevent.cpp
- compile questlua_dungeon.cpp
- 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_forked.cpp
- compile questlua_game.cpp
- compile questlua_global.cpp
- compile questlua_guild.cpp
- compile questlua_horse.cpp
- compile questlua_pet.cpp
- compile questlua_item.cpp
- compile questlua_marriage.cpp
- compile questlua_mgmt.cpp
- compile questlua_monarch.cpp
- compile questlua_npc.cpp
- compile questlua_oxevent.cpp
- compile questlua_party.cpp
- questlua_item.cpp: In function 'int quest::item_get_applies(lua_State*)':
- questlua_item.cpp:588:22: warning: unused variable 'Key1' [-Wunused-variable]
- char Key1[64] = "", Key2[64] = "";
- ^
- questlua_item.cpp:588:37: warning: unused variable 'Key2' [-Wunused-variable]
- char Key1[64] = "", Key2[64] = "";
- ^
- questlua_item.cpp: In function 'int quest::item_equip_selected(lua_State*)':
- questlua_item.cpp:991:36: warning: NULL used in arithmetic [-Wpointer-arith]
- if (equipped->GetVnum() != NULL || item->IsEquipped())
- ^
- compile questlua_pc.cpp
- compile questlua_quest.cpp
- questlua_npc.cpp: In function 'int quest::npc_get_vid_attack_mul(lua_State*)':
- questlua_npc.cpp:294: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:310: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:325: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:341:18: warning: unused variable 'q' [-Wunused-variable]
- CQuestManager& q = CQuestManager::instance();
- ^
- compile questlua_target.cpp
- questlua_pc.cpp: In function 'int quest::pc_give_item_from_special_item_group(lu a_State*)':
- questlua_pc.cpp:400: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 questmanager.cpp
- compile questnpc.cpp
- compile questpc.cpp
- compile refine.cpp
- compile regen.cpp
- compile safebox.cpp
- compile sectree.cpp
- compile sectree_manager.cpp
- compile sequence.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());
- ^
- compile shop.cpp
- compile skill.cpp
- compile start_position.cpp
- compile target.cpp
- compile text_file_loader.cpp
- 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 trigger.cpp
- compile utils.cpp
- compile vector.cpp
- compile war_map.cpp
- utils.cpp: In function 'bool WildCaseCmp(const char*, const char*)':
- utils.cpp:248:20: warning: NULL used in arithmetic [-Wpointer-arith]
- if (NULL == w[1])
- ^
- utils.cpp:260:18: warning: NULL used in arithmetic [-Wpointer-arith]
- if (NULL == *s)
- ^
- utils.cpp:274:18: warning: NULL used in arithmetic [-Wpointer-arith]
- if (NULL == *w)
- ^
- shop.cpp: In member function 'virtual bool CShop::IsSellingItem(DWORD)':
- shop.cpp:554:33: warning: comparison between signed and unsigned integer express ions [-Wsign-compare]
- if (m_itemVector[i].itemid == itemID)
- ^
- compile wedding.cpp
- compile xmas_event.cpp
- compile panama.cpp
- compile version.cpp
- compile threeway_war.cpp
- 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 map_location.cpp
- compile auth_brazil.cpp
- compile BlueDragon.cpp
- compile BlueDragon_Binder.cpp
- compile DragonLair.cpp
- compile questlua_dragonlair.cpp
- compile HackShield.cpp
- compile HackShield_Impl.cpp
- compile char_hackshield.cpp
- compile skill_power.cpp
- compile affect.cpp
- compile SpeedServer.cpp
- compile questlua_speedserver.cpp
- 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 XTrapManager.cpp
- compile auction_manager.cpp
- compile FileMonitor_FreeBSD.cpp
- compile ClientPackageCryptInfo.cpp
- 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);
- ^
- compile cipher.cpp
- compile buff_on_attributes.cpp
- compile dragon_soul_table.cpp
- 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)
- ^
- compile DragonSoul.cpp
- compile group_text_parse_tree.cpp
- compile char_dragonsoul.cpp
- In file included from /usr/include/cryptopp/modes.h:8:0,
- from cipher.cpp:7:
- /usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCl eanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::alloc ate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_A lign16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>: :size_type = unsigned int]':
- /usr/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = C ryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A>::size_typ e = unsigned int]'
- /usr/include/cryptopp/algparam.h:17:2: required from here
- /usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in t his scope, and no declarations were found by argument-dependent lookup at the po int of instantiation [-fpermissive]
- CheckSize(n);
- ^
- /usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'Cr yptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup
- /usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
- /usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCl eanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::alloc ate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Al ign16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>:: size_type = unsigned int]':
- /usr/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = C ryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlock<T, A>::si ze_type = unsigned int]'
- /usr/include/cryptopp/modes.h:63:34: required from here
- /usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in t his scope, and no declarations were found by argument-dependent lookup at the po int of instantiation [-fpermissive]
- /usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'Cr yptoPP::AllocatorBase<unsigned char>' are not found by unqualified lookup
- /usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
- /usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCl eanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::alloc ate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Ali gn16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::si ze_type = unsigned int]':
- /usr/include/cryptopp/secblock.h:249:29: required from 'CryptoPP::SecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int; A = Crypto PP::AllocatorWithCleanup<unsigned int, true>]'
- /usr/include/cryptopp/modarith.h:122:20: required from here
- /usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in t his scope, and no declarations were found by argument-dependent lookup at the po int of instantiation [-fpermissive]
- /usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'Cr yptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup
- /usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
- /usr/include/cryptopp/secblock.h: In instantiation of 'CryptoPP::AllocatorWithCl eanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::alloc ate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Al ign16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::s ize_type = unsigned int]':
- /usr/include/cryptopp/secblock.h:247:25: required from 'CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned int; A = Cr yptoPP::AllocatorWithCleanup<unsigned int>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]'
- /usr/include/cryptopp/rc5.h:22:27: required from 'CryptoPP::BlockCipherFinal<D IR, BASE>::BlockCipherFinal() [with CryptoPP::CipherDir DIR = (CryptoPP::CipherD ir)0u; BASE = CryptoPP::RC5::Enc]'
- /usr/include/cryptopp/misc.h:82:7: required from 'CryptoPP::CipherModeFinalTem plate_CipherHolder<CIPHER, BASE>::CipherModeFinalTemplate_CipherHolder(const byt e*, size_t, const byte*) [with CIPHER = CryptoPP::BlockCipherFinal<(CryptoPP::Ci pherDir)0u, CryptoPP::RC5::Enc>; BASE = CryptoPP::ConcretePolicyHolder<CryptoPP: :Empty, CryptoPP::AdditiveCipherTemplate<CryptoPP::AbstractPolicyHolder<CryptoPP ::AdditiveCipherAbstractPolicy, CryptoPP::CTR_ModePolicy> > >; byte = unsigned c har; 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
- /usr/include/cryptopp/secblock.h:91:14: error: 'CheckSize' was not declared in t his scope, and no declarations were found by argument-dependent lookup at the po int of instantiation [-fpermissive]
- /usr/include/cryptopp/secblock.h:91:14: note: declarations in dependent base 'Cr yptoPP::AllocatorBase<unsigned int>' are not found by unqualified lookup
- /usr/include/cryptopp/secblock.h:91:14: note: use 'this->CheckSize' instead
- compile questlua_dragonsoul.cpp
- dragon_soul_table.cpp: In member function 'bool DragonSoulTable::ReadAdditionalA pplys()':
- dragon_soul_table.cpp:223:48: 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:49: 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:49: 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:49: 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:40: 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:49: 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:40: 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::CheckRefineStre ngthTables()':
- dragon_soul_table.cpp:453:48: 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::CheckDragonHear tExtTables()':
- dragon_soul_table.cpp:494:48: 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:43: 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:39: 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:48: warning: comparison between signed and unsigned in teger expressions [-Wsign-compare]
- for (int i = 0; i < m_vecDragonSoulTypes.size(); i++)
- ^
- 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:43: 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:29: warning: comparison between signed and unsigne d integer expressions [-Wsign-compare]
- if (idx >= m_map_rows.size())
- ^
- 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;
- ^
- gmake: *** [OBJDIR/cipher.o] Error 1
- gmake: *** Waiting for unfinished jobs....
- DragonSoul.cpp: In function 'int Gamble(std::vector<float>&)':
- DragonSoul.cpp:19:37: warning: comparison between signed and unsigned integer ex pressions [-Wsign-compare]
- for (int i = 0; i < vec_probs.size(); i++)
- ^
- DragonSoul.cpp:25:41: 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:49: 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:49: 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;
- ^
- char_dragonsoul.cpp: In member function 'bool CHARACTER::DragonSoul_ActivateDeck (int)':
- char_dragonsoul.cpp:91:1: warning: control reaches end of non-void function [-Wr eturn-type]
- }
- ^
- root@:/usr/src/Server/game/src #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement