KJS: compile error in kdelibs4 snapshot

Jarosław Staniek js at iidea.pl
Wed Apr 26 16:08:54 BST 2006


On Wednesday 26 April 2006 17:14, Laurent Montel wrote:
> On Wednesday 26 April 2006 16:30, Jarosław Staniek wrote:
> > Hi
> > Cmake gives no warning, but looks like it's configuration error. Clean
> > checkout, clean qt-copy. Any ideas?
>
> rm -f kdelibs/kjs/global.h

Thanks, now:

Building CXX object kate/part/CMakeFiles/katepart.dir/katejscript.o
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:56:2: 
warning: #warning "REMOVE ME once KJS headers get fixed"
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp: In
   member function `virtual KJS::JSValue*
   KateJSGlobalFunctions::callAsFunction(KJS::ExecState*, KJS::JSObject*, 
const
   KJS::List&)':
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:119: 
warning: unused
   parameter `KJS::JSObject*thisObj'
In file included 
from /home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:248:
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.lut.h: At
   global scope:
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.lut.h:49: 
error: `
   SpaceIndent' is not a member of type `KateJSDocument'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.lut.h:50: 
error: `
   MixedIndent' is not a member of type `KateJSDocument'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp: In
   member function `KJS::JSValue*
   KateJSDocument::getValueProperty(KJS::ExecState*, int) const':
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:458: 
warning: unused
   parameter `KJS::ExecState*exec'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp: In
   member function `void KateJSDocument::putValueProperty(KJS::ExecState*, 
int,
   KJS::JSValue*, int)':
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:482: 
warning: unused
   parameter `KJS::ExecState*exec'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:482: 
warning: unused
   parameter `int token'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:482: 
warning: unused
   parameter `KJS::JSValue*value'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:482: 
warning: unused
   parameter `int attr'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp: In
   member function `KJS::JSValue* 
KateJSView::getValueProperty(KJS::ExecState*,
   int) const':
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:586: 
warning: unused
   parameter `KJS::ExecState*exec'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp: In
   member function `void KateJSView::putValueProperty(KJS::ExecState*, int,
   KJS::JSValue*, int)':
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:613: 
warning: unused
   parameter `KJS::ExecState*exec'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:613: 
warning: unused
   parameter `int token'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:613: 
warning: unused
   parameter `KJS::JSValue*value'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:613: 
warning: unused
   parameter `int attr'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp: In
   member function `virtual KJS::JSValue*
   KateJSIndenterProtoFunc::callAsFunction(KJS::ExecState*, KJS::JSObject*,
   const KJS::List&)':
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:843: 
warning: unused
   parameter `const KJS::List&args'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp: In
   member function `virtual bool KateIndentJScriptImpl::processLine(KateView*,
   const KateDocCursor&, QString&)':
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:992: 
warning: unused
   parameter `const KateDocCursor&line'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp: In
   member function `virtual bool
   KateIndentJScriptImpl::processNewline(KateView*, const KateDocCursor&, 
bool,
   QString&)':
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:999: 
warning: unused
   parameter `const KateDocCursor&begin'
/home/jarek/branches/work/kdelibs4_snapshot/kate/part/katejscript.cpp:999: 
warning: unused
   parameter `bool needcontinue'
make[2]: *** [kate/part/CMakeFiles/katepart.dir/katejscript.o] Błąd 1
make[1]: *** [kate/part/CMakeFiles/katepart.dir/all] Błąd 2

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska

Sponsored by OpenOffice Polska to work on
* Kexi & KOffice: http://www.kexi-project.org | http://koffice.org/kexi
* KDE3 & KDE4 Libraries For Developing MS Windows Applications:
                   http://www.kdelibs.com/wiki
See also:
* Kexi For MS Windows: http://kexi.pl/wiki/index.php/Kexi_for_MS_Windows
* Kexi Support:        http://www.kexi-project.org/support.html




More information about the kde-core-devel mailing list