Menu

#1 Compile error

open
nobody
None
5
2014-08-29
2003-11-17
Anonymous
No

Compiling sscdrfe-0.02alpha on Knoppix 3.3 I got the error
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -DQT_SHARED
-DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default
-I. -I. -I/usr/include/qt3 -o mainmenu.o mainmenu.cpp
mainmenu.cpp: In member function `void mainmenu::quit()':
mainmenu.cpp:62: error: `exit' undeclared (first use
this function)
mainmenu.cpp:62: error: (Each undeclared identifier is
reported only once for
each function it appears in.)
make: *** [mainmenu.o] Fehler 1
Putting an #include <stdlib.h> into the file solved the
problem.

Discussion


Log in to post a comment.