[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice
Subject:    Re: Another kdelibs compile error
From:       David Faure <faure () kde ! org>
Date:       1999-12-19 14:00:18
[Download RAW message or body]

On Sun, Dec 19, 1999 at 10:37:26AM +0100, Lasse Jansson wrote:
> Problem: see below.
> Background: I use CVSUP sources (including the new qt-copy module)
> Comments anyone ?

Remove all moc files, the format has changed.

> Thanks, 
> 
> Lasse
> 
> Making all in qk
> make[2]: Entering directory `/usr/local/src/kde/kdelibs/qk'
> /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../qk \
> -I../dcop -I../kdecore -I../kdeui -I/usr/local/qt/include -I/usr/X11R6/include \
> -I/opt/kde/include     -O2 -fno-exceptions -fno-rtti -fno-check-new -Wall -pedantic \
> -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -frtti  -c \
> moc_qiconview.cpp g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../qk -I../dcop -I../kdecore \
> -I../kdeui -I/usr/local/qt/include -I/usr/X11R6/include -I/opt/kde/include -O2 \
> -fno-exceptions -fno-rtti -fno-check-new -Wall -pedantic -W -Wpointer-arith \
> -Wmissing-prototypes -Wwrite-strings -Wno-long-long -frtti \
> -Wp,-MD,.deps/moc_qiconview.pp -c moc_qiconview.cpp  -fPIC -DPIC -o \
>                 moc_qiconview.lo
> qiconview.moc: In function `static class QMetaObject * \
> QIconView::staticMetaObject()': In file included from qiconview.cpp:4830,
> from moc_qiconview.cpp:17:
> qiconview.moc:179: warning: assignment to `char *' from `const char *' discards \
> const qiconview.moc:182: warning: assignment to `char *' from `const char *' \
> discards const qiconview.moc:184: warning: assignment to `char *' from `const char \
> *' discards const qiconview.moc:186: warning: assignment to `char *' from `const \
> char *' discards const qiconview.moc:188: warning: assignment to `char *' from \
> `const char *' discards const qiconview.moc:190: warning: assignment to `char *' \
> from `const char *' discards const qiconview.moc:193: warning: assignment to `char \
> *' from `const char *' discards const qiconview.moc:195: warning: assignment to \
> `char *' from `const char *' discards const qiconview.moc:197: warning: assignment \
> to `char *' from `const char *' discards const qiconview.moc:200: warning: \
> assignment to `char *' from `const char *' discards const qiconview.moc:202: \
> warning: assignment to `char *' from `const char *' discards const \
> qiconview.moc:204: warning: assignment to `char *' from `const char *' discards \
> const qiconview.moc:207: warning: assignment to `char *' from `const char *' \
> discards const qiconview.moc:209: warning: assignment to `char *' from `const char \
>                 *' discards const
> moc_qiconview.cpp: At top level:
> moc_qiconview.cpp:37: syntax error before `('
> moc_qiconview.cpp:56: new declaration `static void \
> QIconViewItemLineEdit::staticMetaObject()' qiconview.cpp:183: ambiguates old \
>                 declaration `static class QMetaObject * \
>                 QIconViewItemLineEdit::staticMetaObject()'
> moc_qiconview.cpp: In function `static void \
> QIconViewItemLineEdit::staticMetaObject()': moc_qiconview.cpp:57: warning: implicit \
>                 declaration of function `int createMetaObject(...)'
> moc_qiconview.cpp: At top level:
> moc_qiconview.cpp:61: no `class QMetaObject * \
> QIconViewItemLineEdit::createMetaObject()' member function declared in class \
> `QIconViewItemLineEdit' make[2]: *** [moc_qiconview.lo] Error 1
> make[2]: Leaving directory `/usr/local/src/kde/kdelibs/qk'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/kde/kdelibs'
> make: *** [all-recursive-am] Error 2          
> 

-- 
David FAURE
david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic