bonsoir !

en pleine compilation:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\include\c++\cstdlib|202|error: '__gnu_cxx::lldiv_t' has not been declared|

Voici la liste complete des messages:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
D:\C++\projects\Servers\Master\Sockets\..\Tools\Packet.h||In constructor 'PacketReader::PacketReader(const char*)':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Packet.h|90|warning: 'PacketReader::length' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Packet.h|90|warning: 'PacketReader::pos' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Packet.h|90|warning: 'PacketReader::header' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Packet.h||In member function 'const std::string PacketReader::ReadString(short unsigned int)':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Packet.h|111|warning: comparison between signed and unsigned integer expressions|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Packet.h||In member function 'void PacketWriter::writeString(const std::string&)':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Packet.h|182|warning: comparison between signed and unsigned integer expressions|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\..\Tools\Handler.h|11|warning: 'class PacketHandler' has virtual functions and accessible non-virtual destructor|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|16|instantiated from here|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\..\Tools\Handler.h|19|warning: 'class Handler<UnknownPacketHandler>' has virtual functions and accessible non-virtual destructor|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|16|warning: 'class UnknownPacketHandler' has pointer data members|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|16|warning:   but does not override 'UnknownPacketHandler(const UnknownPacketHandler&)'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|16|warning:   or 'operator=(const UnknownPacketHandler&)'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|16|warning: 'class UnknownPacketHandler' has virtual functions and accessible non-virtual destructor|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h||In constructor 'UnknownPacketHandler::UnknownPacketHandler(Session*, Selector*)':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|24|warning: 'UnknownPacketHandler::target' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|24|warning: 'UnknownPacketHandler::server' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h||In destructor 'UnknownPacketHandler::~UnknownPacketHandler()':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|32|warning: possible problem detected in invocation of delete operator:|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|32|warning: invalid use of incomplete type 'struct Session'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|11|warning: forward declaration of 'struct Session'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|32|note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|33|warning: possible problem detected in invocation of delete operator:|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|33|warning: invalid use of incomplete type 'struct Selector'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|10|warning: forward declaration of 'struct Selector'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|33|note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|31|warning: 'class Session' has pointer data members|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|31|warning:   but does not override 'Session(const Session&)'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|31|warning:   or 'operator=(const Session&)'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h||In constructor 'Session::Session()':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|34|warning: 'Session::SessionInfo' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h||In constructor 'Session::s_si::s_si()':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|69|warning: 'Session::s_si::sock' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|69|warning: 'Session::s_si::ip' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|69|warning: 'Session::s_si::lastping' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h||In constructor 'Session::Session()':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|34|note: synthesized method 'Session::s_si::s_si()' first required here |
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|34|warning: 'Session::reader' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|34|warning: 'Session::handler' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|34|warning: 'Session::selector' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h||In constructor 'Session::Session(const IPaddress&, const TCPsocket&, Selector*)':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|35|warning: 'Session::SessionInfo' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|35|warning: 'Session::reader' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|35|warning: 'Session::handler' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|35|warning: 'Session::selector' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h||In destructor 'virtual Session::~Session()':|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|47|warning: possible problem detected in invocation of delete operator:|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|47|warning: invalid use of incomplete type 'struct Selector'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\..\PacketHandler\UnknownPacketHandler.h|10|warning: forward declaration of 'struct Selector'|
D:\C++\projects\Servers\Master\Sockets\..\Tools\Session.h|47|note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.|
D:\C++\projects\Servers\Master\Sockets\SessionsCollection.h||In constructor 'SessionsCollection::SessionsCollection()':|
D:\C++\projects\Servers\Master\Sockets\SessionsCollection.h|14|warning: 'SessionsCollection::_sessions' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h||In constructor 'Acceptor::Acceptor(int, const SOCKADDR_IN&)':|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h|33|warning: 'Acceptor::sock' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h|33|warning: 'Acceptor::sosai' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h|33|warning: 'Acceptor::sockin' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h||In constructor 'AcceptedSocket_::AcceptedSocket_()':|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h|21|warning: 'AcceptedSocket_::Error' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h|21|warning: 'AcceptedSocket_::Socket' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h|21|warning: 'AcceptedSocket_::IP' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h||In member function 'const AcceptedSocket Acceptor::Accept()':|
D:\C++\projects\Servers\Master\Sockets\Acceptor.h|48|note: synthesized method 'AcceptedSocket_::AcceptedSocket_()' first required here |
D:\C++\projects\Servers\Master\Sockets\Selector.h|22|warning: 'class Selector' has pointer data members|
D:\C++\projects\Servers\Master\Sockets\Selector.h|22|warning:   but does not override 'Selector(const Selector&)'|
D:\C++\projects\Servers\Master\Sockets\Selector.h|22|warning:   or 'operator=(const Selector&)'|
D:\C++\projects\Servers\Master\Sockets\Selector.h||In constructor 'Selector::Selector(SessionsCollection*)':|
D:\C++\projects\Servers\Master\Sockets\Selector.h|28|warning: 'Selector::sessions' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Selector.h|28|warning: 'Selector::recvfs' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Selector.h|28|warning: 'Selector::_maxfd' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\Selector.h||In member function 'void Selector::Add(int)':|
D:\C++\projects\Servers\Master\Sockets\Selector.h|45|warning: comparison between signed and unsigned integer expressions|
D:\C++\projects\Servers\Master\Sockets\Selector.h||In member function 'void Selector::Delete(int)':|
D:\C++\projects\Servers\Master\Sockets\Selector.h|50|warning: comparison between signed and unsigned integer expressions|
D:\C++\projects\Servers\Master\Sockets\..\Threads\ThreadsFactory.h||In constructor 'ThreadsFactory::ThreadsFactory(ServerSocket*, Selector*)':|
D:\C++\projects\Servers\Master\Sockets\..\Threads\ThreadsFactory.h|27|warning: 'ThreadsFactory::Threads_' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|67|warning: 'class ServerSocket' has pointer data members|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|67|warning:   but does not override 'ServerSocket(const ServerSocket&)'|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|67|warning:   or 'operator=(const ServerSocket&)'|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|10|warning: extra ';'|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp||In constructor 'ServerSocket::ServerSocket(float, int, int, std::string&, std::string&, std::string&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|12|warning: 'ServerSocket::ssi' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h||In constructor 'ServerSocketInformation_::ServerSocketInformation_()':|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|50|warning: 'ServerSocketInformation_::Version' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|50|warning: 'ServerSocketInformation_::Port' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|50|warning: 'ServerSocketInformation_::MaxClients' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|50|warning: 'ServerSocketInformation_::DisplayName' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|50|warning: 'ServerSocketInformation_::LinkName' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|50|warning: 'ServerSocketInformation_::Master' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp||In constructor 'ServerSocket::ServerSocket(float, int, int, std::string&, std::string&, std::string&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|12|note: synthesized method 'ServerSocketInformation_::ServerSocketInformation_()' first required here |
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|12|warning: 'ServerSocket::ssl' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h||In constructor 'ServerSocketLinking_::ServerSocketLinking_()':|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|61|warning: 'ServerSocketLinking_::Parent' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|61|warning: 'ServerSocketLinking_::Childs' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp||In constructor 'ServerSocket::ServerSocket(float, int, int, std::string&, std::string&, std::string&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|12|note: synthesized method 'ServerSocketLinking_::ServerSocketLinking_()' first required here |
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|12|warning: 'ServerSocket::threadfactory' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|12|warning: 'ServerSocket::sessions' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|12|warning: 'ServerSocket::acceptor' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|12|warning: 'ServerSocket::selector' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|12|warning: 'ServerSocket::parentlink' should be initialized in the member initialization list|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|100|warning: extra ';'|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h||In destructor 'ServerSocket::~ServerSocket()':|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|61|warning: inlining failed in call to 'ServerSocketLinking_::~ServerSocketLinking_() throw ()': call is unlikely and code size would grow|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|10|warning: called from here|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|57|warning: inlining failed in call to 'ServerSocketInformation_::~ServerSocketInformation_()': call is unlikely and code size would grow|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|10|warning: called from here|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h||In destructor 'ServerSocket::~ServerSocket()':|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|61|warning: inlining failed in call to 'ServerSocketLinking_::~ServerSocketLinking_() throw ()': call is unlikely and code size would grow|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|10|warning: called from here|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|57|warning: inlining failed in call to 'ServerSocketInformation_::~ServerSocketInformation_()': call is unlikely and code size would grow|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|10|warning: called from here|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h||In constructor 'ServerSocket::ServerSocket(float, int, int, std::string&, std::string&, std::string&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|61|warning: inlining failed in call to 'ServerSocketLinking_::~ServerSocketLinking_() throw ()': call is unlikely and code size would grow|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|100|warning: called from here|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|57|warning: inlining failed in call to 'ServerSocketInformation_::~ServerSocketInformation_()': call is unlikely and code size would grow|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|100|warning: called from here|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h||In constructor 'ServerSocket::ServerSocket(float, int, int, std::string&, std::string&, std::string&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|61|warning: inlining failed in call to 'ServerSocketLinking_::~ServerSocketLinking_() throw ()': call is unlikely and code size would grow|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|100|warning: called from here|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.h|57|warning: inlining failed in call to 'ServerSocketInformation_::~ServerSocketInformation_()': call is unlikely and code size would grow|
D:\C++\projects\Servers\Master\Sockets\ServerSocket.cpp|100|warning: called from here|
c:\program files (x86)\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\include\c++\cstdlib|202|error: '__gnu_cxx::lldiv_t' has not been declared|
||=== Build finished: 1 errors, 88 warnings ===|
quelqu'un a une idée?
merci, nico