Teşekkürler hocam dediğiniz şekilde denedim fakat mesela yine aynı hata geldi, eklerken hiçbir hata yapmıyorum ve sistem "şuranın altına, şuranın üstüne ekle" dediği şekilde sorunsuzca ekliyorum, ama aşağıdaki şekilde bir hata geliyor.
In file included from packet_info.h:4:0,
from input.h:4,
from desc.h:5,
from battle.cpp:4:
packet.h:1726:1: error: expected identifier before 'typedef'
typedef struct packet_messenger_team_list_offline
^
packet.h:1726:1: error: expected '}' before 'typedef'
packet.h:1730:3: error: two or more data types in declaration of 'TPacketGCMesse ngerTeamListOffline'
} TPacketGCMessengerTeamListOffline;
^
packet.h:1738:2: error: 'MESSENGER_SUBHEADER_CG_ADD_BY_VID' does not name a type
MESSENGER_SUBHEADER_CG_ADD_BY_VID,
^
packet.h:1742:1: error: expected declaration before '}' token
};
^
gmake[1]: *** [OBJDIR/battle.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
In file included from OXEvent.cpp:6:0:
packet.h:1726:1: error: expected identifier before 'typedef'
typedef struct packet_messenger_team_list_offline
^
packet.h:1726:1: error: expected '}' before 'typedef'
packet.h:1730:3: error: two or more data types in declaration of 'TPacketGCMesse ngerTeamListOffline'
} TPacketGCMessengerTeamListOffline;
^
packet.h:1738:2: error: 'MESSENGER_SUBHEADER_CG_ADD_BY_VID' does not name a type
MESSENGER_SUBHEADER_CG_ADD_BY_VID,
^
packet.h:1742:1: error: expected declaration before '}' token
};
^
gmake[1]: *** [OBJDIR/OXEvent.o] Error 1
In file included from item_manager.h:9:0,
from building.cpp:4:
packet.h:1726:1: error: expected identifier before 'typedef'
typedef struct packet_messenger_team_list_offline
^
packet.h:1726:1: error: expected '}' before 'typedef'
packet.h:1730:3: error: two or more data types in declaration of 'TPacketGCMesse ngerTeamListOffline'
} TPacketGCMessengerTeamListOffline;
^
packet.h:1738:2: error: 'MESSENGER_SUBHEADER_CG_ADD_BY_VID' does not name a type
MESSENGER_SUBHEADER_CG_ADD_BY_VID,
^
packet.h:1742:1: error: expected declaration before '}' token
};
^
gmake[1]: *** [OBJDIR/building.o] Error 1
In file included from arena.cpp:4:0:
packet.h:1726:1: error: expected identifier before 'typedef'
typedef struct packet_messenger_team_list_offline
^
packet.h:1726:1: error: expected '}' before 'typedef'
packet.h:1730:3: error: two or more data types in declaration of 'TPacketGCMesse ngerTeamListOffline'
} TPacketGCMessengerTeamListOffline;
^
packet.h:1738:2: error: 'MESSENGER_SUBHEADER_CG_ADD_BY_VID' does not name a type
MESSENGER_SUBHEADER_CG_ADD_BY_VID,
^
packet.h:1742:1: error: expected declaration before '}' token
};
^
gmake[1]: *** [OBJDIR/arena.o] Error 1
In file included from packet_info.h:4:0,
from input.h:4,
from desc.h:5,
from desc_client.h:4,
from char.cpp:12:
packet.h:1726:1: error: expected identifier before 'typedef'
typedef struct packet_messenger_team_list_offline
^
packet.h:1726:1: error: expected '}' before 'typedef'
packet.h:1730:3: error: two or more data types in declaration of 'TPacketGCMesse ngerTeamListOffline'
} TPacketGCMessengerTeamListOffline;
^
packet.h:1738:2: error: 'MESSENGER_SUBHEADER_CG_ADD_BY_VID' does not name a type
MESSENGER_SUBHEADER_CG_ADD_BY_VID,
^
packet.h:1742:1: error: expected declaration before '}' token
};
^
gmake[1]: *** [OBJDIR/char.o] Error 1
gmake[1]: Leaving directory `/usr/src/server/Server/game/src'
gmake: *** [all] Error 2
root@turkmmo:/usr/src/server/Server #