viewing paste Why Zephyrus sucks? | Plain text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
npc.c:3058:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 
atcommand.c: In function âatcommand_ksprotectionâ:
atcommand.c:9084:3: warning: format not a string literal and no format arguments [-Wformat-security]
atcommand.c:9091:4: warning: format not a string literal and no format arguments [-Wformat-security]
atcommand.c:9096:4: warning: format not a string literal and no format arguments [-Wformat-security]
atcommand.c:9101:4: warning: format not a string literal and no format arguments [-Wformat-security]
atcommand.c:9104:4: warning: format not a string literal and no format arguments [-Wformat-security]
atcommand.c: In function âatcommand_allowksâ:
atcommand.c:9120:3: warning: format not a string literal and no format arguments [-Wformat-security]
atcommand.c:9125:3: warning: format not a string literal and no format arguments [-Wformat-security]
 
battleground.c: In function âbg_send_xy_timerâ:
battleground.c:578:2: warning: passing argument 2 of âbg_team_db->foreachâ from incompatible pointer type [enabled by default]
battleground.c:578:2: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  void *, struct __va_list_tag *)â
battleground.c: In function âbg_reloadâ:
battleground.c:1201:2: warning: passing argument 2 of âbg_team_db->destroyâ from incompatible pointer type [enabled by default]
battleground.c:1201:2: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  void *, struct __va_list_tag *)â
battleground.c:1202:2: warning: passing argument 2 of âqueue_db->destroyâ from incompatible pointer type [enabled by default]
battleground.c:1202:2: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  void *, struct __va_list_tag *)â
battleground.c: In function âdo_final_battlegroundâ:
battleground.c:1214:2: warning: passing argument 2 of âqueue_db->destroyâ from incompatible pointer type [enabled by default]
battleground.c:1214:2: note: expected âDBApplyâ but argument is of type âint (*)(union DBKey,  void *, struct __va_list_tag *)â
battleground.c: In function âbg_guild_build_dataâ:
battleground.c:648:9: warning: ignoring return value of âfreadâ, declared with attribute warn_unused_result [-Wunused-result]
 
channel.c: In function âdo_final_channelâ:
channel.c:654:2: warning: passing argument 2 of âchannel_db->destroyâ from incom patible pointer type [enabled by default]
channel.c:654:2: note: expected âDBApplyâ but argument is of type âint (*)(union  DBKey,  void *, struct __va_list_tag *)â
 
achievement.c: In function âachievement_validate_exploreâ:
achievement.c:317:2: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:317:2: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
achievement.c: In function âachievement_validate_mob_subâ:
achievement.c:334:2: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:334:2: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
achievement.c: In function âachievement_validate_mobâ:
achievement.c:346:3: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:346:3: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
achievement.c: In function âachievement_validate_killerâ:
achievement.c:351:2: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:351:2: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
achievement.c: In function âachievement_validate_damageâ:
achievement.c:356:2: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:356:2: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
achievement.c: In function âachievement_validate_questâ:
achievement.c:361:2: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:361:2: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
achievement.c: In function âachievement_validate_achievementâ:
achievement.c:366:2: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:366:2: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
achievement.c: In function âachievement_validate_zenyâ:
achievement.c:371:2: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:371:2: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
achievement.c: In function âachievement_validate_itemâ:
achievement.c:383:2: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:383:2: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
achievement.c: In function âachievement_validate_bgâ:
achievement.c:388:2: warning: passing argument 2 of âachievement_db->foreachâ fr om incompatible pointer type [enabled by default]
achievement.c:388:2: note: expected âDBApplyâ but argument is of type âint (*)(u nion DBKey,  void *, struct __va_list_tag *)â
 
region.c: In function âregion_db_loadâ:
region.c:232:3: warning: passing argument 2 of âregion_db->clearâ from incompati ble pointer type [enabled by default]
region.c:232:3: note: expected âDBApplyâ but argument is of type âint (*)(union  DBKey,  void *, struct __va_list_tag *)â
region.c: In function âdo_final_regionâ:
region.c:247:2: warning: passing argument 2 of âregion_db->destroyâ from incompa tible pointer type [enabled by default]
region.c:247:2: note: expected âDBApplyâ but argument is of type âint (*)(union  DBKey,  void *, struct __va_list_tag *)â
 
In file included from homunculus.h:15:0,
                 from faction.c:21:
status.h:1723:35: warning: âstruct elemental_dataâ declared inside parameter lis t [enabled by default]
status.h:1723:35: warning: its scope is only this definition or declaration, whi ch is probably not what you want [enabled by default]
faction.c: In function âfaction_db_loadâ:
faction.c:286:2: warning: passing argument 2 of âfaction_db->clearâ from incompa tible pointer type [enabled by default]
faction.c:286:2: note: expected âDBApplyâ but argument is of type âint (*)(union  DBKey,  void *, struct __va_list_tag *)â
faction.c: In function âdo_final_factionâ:
faction.c:392:2: warning: passing argument 2 of âfaction_db->destroyâ from incom patible pointer type [enabled by default]
faction.c:392:2: note: expected âDBApplyâ but argument is of type âint (*)(union  DBKey,  void *, struct __va_list_tag *)â
faction.c:393:2: warning: passing argument 2 of âlang_db->destroyâ from incompat ible pointer type [enabled by default]
faction.c:393:2: note: expected âDBApplyâ but argument is of type âint (*)(union  DBKey,  void *, struct __va_list_tag *)â
Viewed 342 times, submitted by unknown.