sportsman
26-09-2006, 09:04
also so langsam verzweifel ich
ich hab mal einen alten c++ daemon von mir ausgekramt der damals auf meiner alten kiste auch lief
auf meiner neuen maschine wollet ich den neu compilen und es geht nicht
hier mal ein auszug aus meinem make
hoffe hier kann mir jemand helfen, weil ich weiß nicht wo ich den fehler suchen soll
__________________________________________________ ______________
make
g++ -Wall -g -c main.cpp
g++ -Wall -g -c CDaemon.cpp
g++ -Wall -g -c CApplication.cpp
g++ -Wall -g -c CServerSocket.cpp
g++ -Wall -g -c CSystem.cpp
In Datei, eingefügt von /usr/include/c++/3.3/backward/fstream.h:31,
******************* von CSystem.cpp:5:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: Warnung: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
CSystem.cpp: In member function `int
** CSystem::ReadConfigFile(std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >, int)':
CSystem.cpp:300: Warnung: control reaches end of non-void function
CSystem.cpp: In member function `int
** CSystem::WriteConfigFile(std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >)':
CSystem.cpp:313: Warnung: control reaches end of non-void function
g++ -Wall -g -c CSql.cpp
g++ -Wall main.o CDaemon.o CApplication.o CServerSocket.o CSystem.o CSql.o \
*************************************** -lmysqlclient \
*************************************** -o absinth.exe
ich hab mal einen alten c++ daemon von mir ausgekramt der damals auf meiner alten kiste auch lief
auf meiner neuen maschine wollet ich den neu compilen und es geht nicht
hier mal ein auszug aus meinem make
hoffe hier kann mir jemand helfen, weil ich weiß nicht wo ich den fehler suchen soll
__________________________________________________ ______________
make
g++ -Wall -g -c main.cpp
g++ -Wall -g -c CDaemon.cpp
g++ -Wall -g -c CApplication.cpp
g++ -Wall -g -c CServerSocket.cpp
g++ -Wall -g -c CSystem.cpp
In Datei, eingefügt von /usr/include/c++/3.3/backward/fstream.h:31,
******************* von CSystem.cpp:5:
/usr/include/c++/3.3/backward/backward_warning.h:32:2: Warnung: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
CSystem.cpp: In member function `int
** CSystem::ReadConfigFile(std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >, int)':
CSystem.cpp:300: Warnung: control reaches end of non-void function
CSystem.cpp: In member function `int
** CSystem::WriteConfigFile(std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
** std::allocator<char> >)':
CSystem.cpp:313: Warnung: control reaches end of non-void function
g++ -Wall -g -c CSql.cpp
g++ -Wall main.o CDaemon.o CApplication.o CServerSocket.o CSystem.o CSql.o \
*************************************** -lmysqlclient \
*************************************** -o absinth.exe