Jump to content

Recommended Posts

After adding the sash system, the game file stopped compiling, I checked everything 100 times and I'm tired of it. Please help...

Spoiler
In file included from BattleArena.cpp:6:
char.h:2077:7: warning: no newline at end of file
In file included from OXEvent.cpp:9:
char.h:2077:7: warning: no newline at end of file
In file included from ani.cpp:11:
char.h:2077:7: warning: no newline at end of file
In file included from arena.cpp:9:
char.h:2077:7: warning: no newline at end of file
In file included from battle.cpp:5:
char.h:2077:7: warning: no newline at end of file
char.cpp:584:7: warning: no newline at end of file
In file included from building.cpp:8:
char.h:2077:7: warning: no newline at end of file
In file included from castle.cpp:21:
char.h:2077:7: warning: no newline at end of file
In file included from char_affect.cpp:5:
char.h:2077:7: warning: no newline at end of file
In file included from battle.h:4,
                 from char_battle.cpp:10:
char.h:2077:7: warning: no newline at end of file
In file included from char_battle.cpp:27:
shop_manager.h:40:7: warning: no newline at end of file
char_battle.cpp:1429:53: warning: trigraph ??> ignored, use -trigraphs to enable
char_battle.cpp:1812:56: warning: trigraph ??! ignored, use -trigraphs to enable
char_battle.cpp:1813:45: warning: trigraph ??! ignored, use -trigraphs to enable
char_battle.cpp:1827:56: warning: trigraph ??! ignored, use -trigraphs to enable
char_battle.cpp:1828:45: warning: trigraph ??! ignored, use -trigraphs to enable
char_battle.cpp:3654:2: warning: no newline at end of file
In file included from char_change_empire.cpp:4:
char.h:2077:7: warning: no newline at end of file
In file included from char_horse.cpp:3:
char.h:2077:7: warning: no newline at end of file
In file included from char_horse.cpp:14:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from char_item.cpp:7:
char.h:2077:7: warning: no newline at end of file
In file included from char_item.cpp:44:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from char_item.cpp:47:
belt_inventory_helper.h:108:42: warning: no newline at end of file
In file included from char_manager.cpp:5:
char.h:2077:7: warning: no newline at end of file
In file included from char_quickslot.cpp:3:
char.h:2077:7: warning: no newline at end of file
In file included from char_resist.cpp:4:
char.h:2077:7: warning: no newline at end of file
In file included from char_skill.cpp:7:
char.h:2077:7: warning: no newline at end of file
In file included from char_state.cpp:5:
char.h:2077:7: warning: no newline at end of file
In file included from char_state.cpp:25:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from PetSystem.cpp:4:
char.h:2077:7: warning: no newline at end of file
In file included from PetSystem.cpp:8:
PetSystem.h:163:31: warning: no newline at end of file
In file included from PetSystem.cpp:9:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
PetSystem.cpp:637:2: warning: no newline at end of file
In file included from cmd.cpp:4:
char.h:2077:7: warning: no newline at end of file
In file included from cmd_emotion.cpp:3:
char.h:2077:7: warning: no newline at end of file
In file included from cmd_general.cpp:12:
char.h:2077:7: warning: no newline at end of file
In file included from cmd_general.cpp:36:
../../common/VnumHelper.h:59:32: warning: no newline at end of file
In file included from cmd_gm.cpp:6:
char.h:2077:7: warning: no newline at end of file
In file included from cmd_oxevent.cpp:3:
char.h:2077:7: warning: no newline at end of file
In file included from config.cpp:14:
char.h:2077:7: warning: no newline at end of file
In file included from char_item.cpp:47:
belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)':
belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:645: warning: comparison is always false due to limited range of data type
char_item.cpp:671: warning: comparison is always false due to limited range of data type
char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)':
char_item.cpp:2392: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2396: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2408: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2412: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:2439: warning: format '%d' expects type 'int', but argument 6 has type 'long int'
char_item.cpp:2447: warning: format '%d' expects type 'int', but argument 5 has type 'long int'
char_item.cpp:5101: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)':
char_item.cpp:5173: warning: unused variable 'wDestCell'
char_item.cpp:5174: warning: unused variable 'bDestInven'
char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)':
char_item.cpp:6174: warning: array subscript has type 'char'
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)':
char_item.cpp:6242: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)':
char_item.cpp:6254: warning: comparison between signed and unsigned integer expressions
In file included from constants.cpp:2:
char.h:2077:7: warning: no newline at end of file
constants.cpp:291: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:292: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:293: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:294: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:295: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:296: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:297: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:298: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:299: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:300: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:301: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:302: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:303: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:304: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:305: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:306: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:307: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:308: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:309: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:310: warning: this decimal constant is unsigned only in ISO C90
constants.cpp:311: warning: this decimal constant is unsigned only in ISO C90
PetSystem.cpp: In member function 'virtual bool CPetActor::_UpdateFollowAI()':
PetSystem.cpp:246: warning: unused variable 'bDoMoveAlone'
PetSystem.cpp: In member function 'CPetActor* CPetSystem::Summon(DWORD, CItem*, const char*, bool, DWORD)':
PetSystem.cpp:552: warning: unused variable 'petVID'
char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)':
char_item.cpp:7440: warning: unused variable 'itemType'
char_item.cpp:7441: warning: unused variable 'itemSubType'
In file included from cube.cpp:14:
char.h:2077:7: warning: no newline at end of file
char_state.cpp: In member function 'virtual void CHARACTER::StateMove()':
char_state.cpp:901: warning: unused variable 'rider'
In file included from db.cpp:11:
char.h:2077:7: warning: no newline at end of file
In file included from desc.cpp:7:
char.h:2077:7: warning: no newline at end of file
char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const':
char_item.cpp:684: warning: control reaches end of non-void function
In file included from desc_client.cpp:6:
char.h:2077:7: warning: no newline at end of file
In file included from desc_manager.cpp:9:
char.h:2077:7: warning: no newline at end of file
In file included from desc_manager.cpp:15:
ClientPackageCryptInfo.h:117:41: warning: no newline at end of file
cmd_general.cpp:2139: error: expected unqualified-id before 'if'
cmd_general.cpp:2147: error: expected declaration before '}' token
In file included from dungeon.cpp:3:
char.h:2077:7: warning: no newline at end of file
In file included from config.cpp:22:
check_server.h: In static member function 'static bool CheckServer::CheckIp(const char*)':
check_server.h:24: warning: comparison between signed and unsigned integer expressions
config.cpp: In function 'void config_init(const std::string&)':
config.cpp:435: warning: NULL used in arithmetic
config.cpp:459: warning: NULL used in arithmetic
config.cpp:483: warning: NULL used in arithmetic
config.cpp:505: warning: unused variable 'line'
cube.cpp: In function 'bool Cube_make(CHARACTER*)':
cube.cpp:544: warning: comparison between signed and unsigned integer expressions
cube.cpp: In function 'void Cube_MakeCubeInformationText()':
cube.cpp:716: warning: unused variable 'npcVNUM'
cube.cpp: In function 'bool Cube_InformationInitialize()':
cube.cpp:783: warning: comparison between signed and unsigned integer expressions
cmd_general.cpp:2027: warning: 'bool FN_hair_affect_string(CHARACTER*, char*, size_t)' defined but not used
gmake: *** [OBJDIR/cmd_general.o] Bł±d 1
gmake: *** Oczekiwanie na niezakończone zadania....
In file included from entity.cpp:2:
char.h:2077:7: warning: no newline at end of file
In file included from entity_view.cpp:4:
char.h:2077:7: warning: no newline at end of file
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3935: warning: NULL used in arithmetic
desc_client.cpp: In member function 'void CLIENT_DESC::UpdateChannelStatus(DWORD, bool)':
desc_client.cpp:299: warning: comparison between signed and unsigned integer expressions
char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)':
char_item.cpp:6289: warning: 'pBuff' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_use_item(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:4357: warning: 'cell' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_set_stat(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:3977: warning: 'n' may be used uninitialized in this function
cmd_gm.cpp: In function 'void do_mob_ld(CHARACTER*, const char*, int, int)':
cmd_gm.cpp:855: warning: 'x' may be used uninitialized in this function
cmd_gm.cpp:855: warning: 'y' may be used uninitialized in this function


 

 

Link to comment
Share on other sites

  • Replies 1
  • 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

Announcements



×
×
  • 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.