kdelibs doen't compile with gcc-3.1

Laurent Montel lmontel at mandrakesoft.com
Thu May 2 08:50:17 BST 2002


Hi,
I have a little problem to compile kdelibs cvs ( from today) with gcc-3.1
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../khtml -I../../dcop 
-I../../libltdl -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio 
-I../../kio/kfile -I../.. -I/usr/lib/qt3/include -I/usr/X11R6/include 
-I/opt/kde/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor 
-Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new 
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT 
-Wp,-MD,.deps/kjavaprocess.pp -c kjavaprocess.cpp  -fPIC -DPIC -o 
.libs/kjavaprocess.o
kjavaprocess.cpp: In copy constructor
   `QTextOStreamIterator<QCString>::QTextOStreamIterator(const
   QTextOStreamIterator<QCString>&)':
kjavaprocess.cpp:267: `const' qualifiers cannot be applied to `QTextOStream&'
kjavaprocess.cpp: In member function `virtual bool KJavaProcess::invokeJVM()':
kjavaprocess.cpp:267:   initializing argument 3 of `OutputIterator
   qCopy(InputIterator, InputIterator, OutputIterator) [with InputIterator =
   QValueListIterator<QCString>, OutputIterator =
   QTextOStreamIterator<QCString>]'
make[1]: *** [kjavaprocess.lo] Error 1
make[1]: Leaving directory `/home/gcc/kdelibs/khtml/java'


Regards.




More information about the kde-core-devel mailing list