KJS: compile error in kdelibs4 snapshot

Jarosław Staniek js at iidea.pl
Wed Apr 26 15:30:38 BST 2006


Hi
Cmake gives no warning, but looks like it's configuration error. Clean
checkout, clean qt-copy. Any ideas?

---------------
Scanning dependencies of target kjs
Building CXX object kjs/CMakeFiles/kjs.dir/ustring.o
Building CXX object kjs/CMakeFiles/kjs.dir/date_object.o
/home/jarek/branches/work/kdelibs4_snapshot/kjs/date_object.cpp: In member
   function `virtual KJS::JSValue*
   KJS::DateProtoFunc::callAsFunction(KJS::ExecState*, KJS::JSObject*, const
   KJS::List&)':
/home/jarek/branches/work/kdelibs4_snapshot/kjs/date_object.cpp:633:
warning: `%
c' yields only last 2 digits of year in some locales
/home/jarek/branches/work/kdelibs4_snapshot/kjs/date_object.cpp:637:
warning: `%
x' yields only last 2 digits of year in some locales
/home/jarek/branches/work/kdelibs4_snapshot/kjs/date_object.cpp: In member
   function `KJS::DateObjectFuncImp::DateObjectFuncImp(KJS::ExecState*,
   KJS::FunctionPrototype*, int, int, const KJS::Identifier&)':
/home/jarek/branches/work/kdelibs4_snapshot/kjs/date_object.cpp:812:
warning: unused
   parameter `KJS::ExecState*exec'
/home/jarek/branches/work/kdelibs4_snapshot/kjs/date_object.cpp: In member
   function `virtual KJS::JSValue*
   KJS::DateObjectFuncImp::callAsFunction(KJS::ExecState*, KJS::JSObject*,
   const KJS::List&)':
/home/jarek/branches/work/kdelibs4_snapshot/kjs/date_object.cpp:819:
warning: unused
   parameter `KJS::JSObject*thisObj'
Building CXX object kjs/CMakeFiles/kjs.dir/collector.o
/home/jarek/branches/work/kdelibs4_snapshot/kjs/collector.cpp:194:5:
warning: "KJS_MULTIPLE_THREADS" is not defined
/home/jarek/branches/work/kdelibs4_snapshot/kjs/collector.cpp:333:2: #error
Unknown pthreads api
/home/jarek/branches/work/kdelibs4_snapshot/kjs/collector.cpp:349:5:
warning: "KJS_MULTIPLE_THREADS" is not defined
/home/jarek/branches/work/kdelibs4_snapshot/kjs/collector.cpp:396:5:
warning: "KJS_MULTIPLE_THREADS" is not defined
/home/jarek/branches/work/kdelibs4_snapshot/kjs/collector.cpp:525:6:
warning: "DEBUG_COLLECTOR" is not defined
/home/jarek/branches/work/kdelibs4_snapshot/kjs/collector.cpp:550:5:
warning: "DEBUG_COLLECTOR" is not defined
make[2]: *** [kjs/CMakeFiles/kjs.dir/collector.o] Błąd 1
make[1]: *** [kjs/CMakeFiles/kjs.dir/all] Błąd 2
make: *** [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