katepart broken with --enable-final

Matt Rogers mattr at kde.org
Tue Dec 21 15:20:10 GMT 2004


On Tuesday 21 December 2004 06:44 am, Michael Nottebrock wrote:
> gmake[3]: Entering directory `/usr/home/lofi/kde/kdelibs/kate/part'
> creating libkatepart_la.all_cpp.cpp ...
> if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++
> -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore
> -I../../kio/kssl -I../interfaces -I../.. -I../../kdeprint
> -I../../interfaces  -I../../interfaces/kregexpeditor -I../../kdefx
> -I../../kutils -I../../dcop -I../../libltdl -I../../kdefx -I../../kdecore
> -I../../kdecore -I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile
> -I../..  -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include 
> -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT
> -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H
> -D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W
> -Wpointer-arith -Wwrite-strings -g3 -fno-inline -fno-exceptions
> -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION  -MT libkatepart_la.all_cpp.lo -MD -MP -MF
> ".deps/libkatepart_la.all_cpp.Tpo" -c -o libkatepart_la.all_cpp.lo
> libkatepart_la.all_cpp.cpp; \
> then mv -f ".deps/libkatepart_la.all_cpp.Tpo"
> ".deps/libkatepart_la.all_cpp.Plo"; else rm -f
> ".deps/libkatepart_la.all_cpp.Tpo"; exit 1; fi
> In file included from libkatepart_la.all_cpp.cpp:3:
> katebuffer.cpp: In member function `bool
> KateBuffer::doHighlight(KateBufBlock*, uint, uint, bool)':
> katebuffer.cpp:1085: warning: converting of negative value
> `-0x00000000000000001' to `unsigned int'
> In file included from libkatepart_la.all_cpp.cpp:7:
> katedialogs.cpp:144:17: macro "kdDebug" passed 1 arguments, but takes just
> 0 In file included from libkatepart_la.all_cpp.cpp:7:
> katedialogs.cpp: In member function `void
> KateConfigPage::somethingHasChanged()':
> katedialogs.cpp:144: error: invalid operands of types `<unknown type>' and
> `const char[45]' to binary `operator<<'
> katedialogs.cpp:1426:16: macro "kdDebug" passed 1 arguments, but takes just
> 0 katedialogs.cpp: In member function `void
> KateHlDownloadDialog::listDataReceived(KIO::Job*, const QByteArray&)':
> katedialogs.cpp:1426: error: no match for 'operator<<' in 'kdDebug <<
> QString(((const char*)"CurrentListData: "))'
>
> [tons of other output skipped]
>
> In file included from libkatepart_la.all_cpp.cpp:10:
> katehighlight.cpp:1851:16: macro "kdDebug" passed 1 arguments, but takes
> just 0
> katehighlight.cpp: In member function `int
> KateHighlighting::lookupAttrName(const QString&, KateHlItemDataList&)':
> katehighlight.cpp:1851: error: invalid operands of types `<unknown type>'
> and `const char[31]' to binary `operator<<'
> katehighlight.cpp:2126:16: macro "kdDebug" passed 1 arguments, but takes
> just 0
>
> [lots of similar errors]

obviously, the solution that requires the least amount of work is to not use 
--enable-final.  (btw, mailing kwrite-devel might give you a better response. 
that's the list where the kate and kwrite developers hang out)

Matt




More information about the kde-core-devel mailing list