But when Im compiling the sourcecode, some errors occurse, which i cant fix?!
Code: Select all
In file included from C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/Programmierung/CPP/wxdev-cpp/include/wx/wxchar.h:143,
from C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/Programmierung/CPP/wxdev-cpp/include/wx/debug.h:22,
from C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/Programmierung/CPP/wxdev-cpp/include/wx/defs.h:397,
from C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/Programmierung/CPP/wxdev-cpp/include/wx/wxprec.h:13,
from SimpleNetworkServer.cpp:1:
C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/Programmierung/CPP/wxdev-cpp/include/tchar.h:272:1: warning: "_puttchar" redefined
In file included from C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/Programmierung/CPP/wxdev-cpp/include/wx/platform.h:414,
from C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/Programmierung/CPP/wxdev-cpp/include/wx/defs.h:25,
from C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/Programmierung/CPP/wxdev-cpp/include/wx/wxprec.h:13,
from SimpleNetworkServer.cpp:1:
C:/Dokumente und Einstellungen/Administrator/Eigene Dateien/Programmierung/CPP/wxdev-cpp/include/wx/msw/gccpriv.h:97:1: warning: this is the location of the previous definition
In file included from SimpleNetworkServer.cpp:7:
ThreadObject.h:21:31: warning: no newline at end of file
In file included from SimpleNetworkServer.cpp:10:
dServer/SocketException.h:12: error: syntax error before `{' token
dServer/SocketException.h:15: error: destructors must be member functions
dServer/SocketException.h:18: error: syntax error before `protected'
SimpleNetworkServer.cpp:16: warning: ignoring #pragma comment
dServer/SocketException.h: In member function `void
SimpleNetworkServer::Listen(void (*)(unsigned int))':
dServer/SocketException.h:15: error: too many arguments to function `void
SocketException()'
SimpleNetworkServer.cpp:41: error: at this point in file
SimpleNetworkServer.cpp:41: error: invalid use of `void'
dServer/SocketException.h:15: error: too many arguments to function `void
SocketException()'
SimpleNetworkServer.cpp:45: error: at this point in file
SimpleNetworkServer.cpp:45: error: invalid use of `void'
dServer/SocketException.h:15: error: too many arguments to function `void
SocketException()'
SimpleNetworkServer.cpp:53: error: at this point in file
SimpleNetworkServer.cpp:53: error: invalid use of `void'
dServer/SocketException.h:15: error: too many arguments to function `void
SocketException()'
SimpleNetworkServer.cpp:57: error: at this point in file
SimpleNetworkServer.cpp:57: error: invalid use of `void'
SimpleNetworkServer.cpp:72:2: warning: no newline at end of file
make.exe: *** [SimpleNetworkServer.o] Error 1
What to do?
Greetz
Crock