kdelibs doen't compile with gcc-3.1

Simon Hausmann hausmann at kde.org
Thu May 2 09:17:00 BST 2002


On Thu, May 02, 2002 at 09:50:17AM +0200, Laurent Montel wrote:
> Hi,
> I have a little problem to compile kdelibs cvs ( from today) with gcc-3.1
> -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'

This bug is already fixed in gcc's 3_1-branch. (see PR c++/6486)


Simon




More information about the kde-core-devel mailing list