berkmenoo 1
berkmenoo
mavzermete 1
mavzermete
Mt2Hizmet 1
Mt2Hizmet
xranzei 1
xranzei
Hikaye Ekle
Kaynak ikonu
5.00 yıldız(lar) 4 Değerlendirme Değerlendirenler
compiling text_file_loader.cpp
compiling trigger.cpp
compiling utils.cpp
compiling vector.cpp
regen.cpp: In function 'bool regen_zodiac(const char*, long int, int, int, LPZODIAC, bool)':
regen.cpp:766:30: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'REGEN' {aka 'struct regen'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
memset(&tmp, 0, sizeof(tmp));
^
In file included from regen.cpp:5:
regen.h:16:16: note: 'REGEN' {aka 'struct regen'} declared here
typedef struct regen
^~~~~
regen.cpp:779:38: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct regen' with no triv ial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
memcpy(regen, &tmp, sizeof(REGEN));
^
In file included from regen.cpp:5:
regen.h:16:16: note: 'struct regen' declared here
typedef struct regen
^~~~~
compiling war_map.cpp
compiling wedding.cpp
compiling xmas_event.cpp
compiling version.cpp
compiling panama.cpp
compiling map_location.cpp
compiling threeway_war.cpp
compiling auth_brazil.cpp
In file included from shop.cpp:6:
shop.h: In constructor 'CShop::CShop()':
shop.h:82:16: warning: 'CShop::m_pkPC' will be initialized after [-Wreorder]
LPCHARACTER m_pkPC;
^~~~~~
shop.h:80:7: warning: 'bool CShop::m_IsLimitedItemShop' [-Wreorder]
bool m_IsLimitedItemShop;
^~~~~~~~~~~~~~~~~~~
shop.cpp:24:1: warning: when initialized here [-Wreorder]
CShop::CShop()
^~~~~
compiling BlueDragon.cpp
compiling BlueDragon_Binder.cpp
compiling DragonLair.cpp
compiling questlua_dragonlair.cpp
compiling HackShield.cpp
compiling HackShield_Impl.cpp
compiling char_hackshield.cpp
compiling skill_power.cpp
compiling affect.cpp
compiling SpeedServer.cpp
compiling questlua_speedserver.cpp
compiling XTrapManager.cpp
compiling auction_manager.cpp
compiling FileMonitor_FreeBSD.cpp
compiling ClientPackageCryptInfo.cpp
compiling cipher.cpp
compiling buff_on_attributes.cpp
compiling dragon_soul_table.cpp
compiling DragonSoul.cpp
compiling group_text_parse_tree.cpp
compiling char_dragonsoul.cpp
compiling questlua_dragonsoul.cpp
compiling shop_manager.cpp
compiling shopEx.cpp
compiling item_manager_read_tables.cpp
compiling shutdown_manager.cpp
compiling MountSystem.cpp
compiling offlineshop.cpp
compiling offlineshop_manager.cpp
compiling title.cpp
compiling New_PetSystem.cpp
compiling questlua_petnew.cpp
compiling support_shaman.cpp
compiling questlua_supportshaman.cpp
compiling game_events.cpp
compiling auto_event_manager.cpp
compiling boss_manager.cpp
shopEx.cpp: In member function 'virtual int CShopEx::Buy(LPCHARACTER, BYTE)':
shopEx.cpp:151:9: warning: enumeration value 'SHOP_COIN_TYPE_ZODIAC' not handled in switch [-Wswitch]
switch (shopTab.coinType)
^
shopEx.cpp:199:9: warning: enumeration value 'SHOP_COIN_TYPE_ZODIAC' not handled in switch [-Wswitch]
switch (shopTab.coinType)
^
offlineshop.cpp: In member function 'void COfflineShop::SetShopItems(TShopItemTable*, BYTE, LPCHARACTER)':
offlineshop.cpp:55:99: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type '__gnu_cxx::__alloc_traits<std::allocator <COfflineShop::offline_shop_item>, COfflineShop::offline_shop_item>::value_type' {aka 'struct COfflineShop::offline_shop_item'}; use assignment or value-initialization instead [-Wclass-memaccess]
memset(&m_offlineShopItemVector[0], 0, sizeof(OFFLINE_SHOP_ITEM) * m_offlineShopItemVector.size());
^
In file included from offlineshop.cpp:20:
offlineshop.h:11:18: note: '__gnu_cxx::__alloc_traits<std::allocator<COfflineShop::offline_shop_item>, COfflineShop::offline_shop_item>::value_type ' {aka 'struct COfflineShop::offline_shop_item'} declared here
typedef struct offline_shop_item
^~~~~~~~~~~~~~~~~
compiling dungeon_info.cpp
compiling zodiac_temple.cpp
compiling questlua_zodiac_temple.cpp
compiling char_battle_zodiac.cpp
In file included from stdafx.h:10,
from offlineshop_manager.cpp:1:
offlineshop_manager.cpp: In member function 'void COfflineShopManager::DestroyOfflineShop(LPCHARACTER, DWORD, bool)':
debug_allocator.h:157:31: warning: deleting object of polymorphic class type 'COfflineShop' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
#define M2_DELETE(p) delete (p)
^
offlineshop_manager.cpp:356:3: note: in expansion of macro 'M2_DELETE'
M2_DELETE(pkOfflineShop);
^~~~~~~~~
debug_allocator.h:157:31: warning: deleting object of polymorphic class type 'COfflineShop' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor]
#define M2_DELETE(p) delete (p)
^
offlineshop_manager.cpp:386:3: note: in expansion of macro 'M2_DELETE'
M2_DELETE(pkOfflineShop);
^~~~~~~~~
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst