From kfm-devel Sun Jan 22 20:16:37 2006 From: Alexander Neundorf Date: Sun, 22 Jan 2006 20:16:37 +0000 To: kfm-devel Subject: kxmlcore error using gcc 3.4.2 Message-Id: <200601222116.38261.neundorf () kde ! org> X-MARC-Message: https://marc.info/?l=kfm-devel&m=113796106221351 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Boundary-00=_mg+0Dx8hLDxpjCp" --Boundary-00=_mg+0Dx8hLDxpjCp Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I tried now to compile trunk/kdelibs/ with gcc 3.4.2 on FreeBSD, and again it's not able to compile kxmlcore/ (with my cmake based build). The error message is attached. What's going wrong ? Are there some compiler flags/switches wrong or missing ? Bye Alex -- Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de Home: neundorf AT kde.org - http://www.kde.org alex AT neundorf.net - http://www.neundorf.net --Boundary-00=_mg+0Dx8hLDxpjCp Content-Type: text/x-log; charset="us-ascii"; name="kxmlcore-error.log" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="kxmlcore-error.log" Building CXX object kjs/CMakeFiles/kjs.dir/internal.o /usr/bin/c++ -Dkjs_EXPORTS -Wnon-virtual-dtor -Wno-long-long -ansi -Wunde= f -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwr= ite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exception= s -fno-check-new -fno-common -fPIC -I/usr/local/include -I/home/alex/src/kd= elibs/dcop -I/home/alex/src/kdelibs/kdecore -I/home/alex/src/kdelibs/kdeui = =2DI/home/alex/src/kdelibs/kio/kio -I/home/alex/src/kdelibs/libltdl -I/home= /alex/src/kdelibs/kio/kfile -I/home/alex/src/kdelibs/interfaces -I/home/ale= x/src/kdelibs/kio -I/home/alex/src/kdelibs/kio/kssl -I/home/alex/src/kdelib= s/kdefx -I/usr/local/lib/qt4/include -I/usr/local/lib/qt4/include/QtCore -I= /usr/local/lib/qt4/include/Qt -I/usr/local/lib/qt4/include/QtGui -I/usr/loc= al/lib/qt4/include/Qt3Support -I/usr/local/lib/qt4/include/QtAssistant -I/u= sr/local/lib/qt4/include/QtDesigner -I/usr/local/lib/qt4/include/QtNetwork = =2DI/usr/local/lib/qt4/include/QtOpenGL -I/usr/local/lib/qt4/include/QtSql = =2DI/usr/local/lib/qt4/include/QtXml -I/home/alex/src/kdelibs -I/usr/X11R6/= include -I/home/alex/src/kdelibs-build -I/home/alex/src/kdelibs/kjs -I/home= /alex/src/kdelibs-build/kjs -DQT3_SUPPORT -DQT_NO_STL -DQT_NO_CAST_TO_ASC= II -DQT_NO_TRANSLATION -D_REENTRANT -D_GNU_SOURCE -DHAVE_CONFIG_H=3D1 -o kj= s/CMakeFiles/kjs.dir/internal.o -c /home/alex/src/kdelibs/kjs/internal.cpp /home/alex/src/kdelibs/kjs/internal.cpp:50:5: warning: "WIN32" is not defin= ed /home/alex/src/kdelibs/kjs/internal.cpp:59:6: warning: "APPLE_CHANGES" is n= ot defined /home/alex/src/kdelibs/kjs/internal.cpp:681:5: warning: "APPLE_CHANGES" is = not defined /home/alex/src/kdelibs/kxmlcore/HashTable.h: In member function `std::pair<= KXMLCore::HashTableIterator,= bool> KXMLCore::HashTable::= insert(const Value&) [with Key =3D void*, Value =3D std::pair= , Key (*ExtractKey)(const Value&) =3D KXMLCore::extractFirst [with PairType= =3D std::pair], HashFunctions =3D KXMLCore::DefaultHash, Traits =3D KXMLCore::PairHashTraits, KXMLCo= re::HashTraits >]': /home/alex/src/kdelibs/kxmlcore/HashMap.h:141: instantiated from `std::pa= ir::iterator, bool> KXMLCore::HashMap::set(const Key&, const Mapped&) [with Key =3D void*, M= apped =3D void*, HashFunctions =3D KXMLCore::DefaultHash, KeyTraits = =3D KXMLCore::HashTraits, MappedTraits =3D KXMLCore::HashTraits]' /home/alex/src/kdelibs/kxmlcore/HashMapPtrSpec.h:203: instantiated from `= std::pair, bool> KXMLCore::Hash= Map, KXMLCore::HashTraits, KXMLCore::= HashTraits >::set(P* const&, Q* const&) [with P =3D KJS::ObjectImp, Q = =3D KJS::InterpreterImp]' /home/alex/src/kdelibs/kjs/internal.cpp:482: instantiated from here /home/alex/src/kdelibs/kxmlcore/HashTable.h:196: error: invalid use of '((K= XMLCore::HashTable, KXMLCore::extractFirst [= with PairType =3D std::pair], KXMLCore::DefaultHash, K= XMLCore::PairHashTraits, KXMLCore::HashTraits > >*)this)->KXMLCore::HashTable::hash [with Key =3D void*, Value =3D std::pair, Key= (*ExtractKey)(const Value&) =3D KXMLCore::extractFirst [with PairType =3D = std::pair], HashFunctions =3D KXMLCore::DefaultHash, T= raits =3D KXMLCore::PairHashTraits, KXMLCore::H= ashTraits >]' as a non-type template-argument /home/alex/src/kdelibs/kxmlcore/HashTable.h:196: error: invalid use of '((K= XMLCore::HashTable, KXMLCore::extractFirst [= with PairType =3D std::pair], KXMLCore::DefaultHash, K= XMLCore::PairHashTraits, KXMLCore::HashTraits > >*)this)->KXMLCore::HashTable::equal [with Key =3D void*, Value =3D std::pair, Ke= y (*ExtractKey)(const Value&) =3D KXMLCore::extractFirst [with PairType =3D= std::pair], HashFunctions =3D KXMLCore::DefaultHash, = Traits =3D KXMLCore::PairHashTraits, KXMLCore::= HashTraits >]' as a non-type template-argument /home/alex/src/kdelibs/kxmlcore/HashTable.h:196: error: invalid use of '((K= XMLCore::HashTable, KXMLCore::extractFirst [= with PairType =3D std::pair], KXMLCore::DefaultHash, K= XMLCore::PairHashTraits, KXMLCore::HashTraits > >*)this)->KXMLCore::HashTable::identityConvert [with Key =3D void*, Value =3D std::pair, Key (*ExtractKey)(const Value&) =3D KXMLCore::extractFirst [with Pa= irType =3D std::pair], HashFunctions =3D KXMLCore::DefaultHas= h, Traits =3D KXMLCore::PairHashTraits, = KXMLCore::HashTraits >]' as a non-type template-argument /home/alex/src/kdelibs/kxmlcore/HashTable.h:196: error: no matching functio= n for call to `KXMLCore::HashTable, KXMLCore= ::extractFirst [with PairType =3D std::pair], KXMLCore::Defau= ltHash, KXMLCore::PairHashTraits, KXMLCo= re::HashTraits > >::insert(void*, const std::pair&)' /home/alex/src/kdelibs/kxmlcore/HashTable.h: In member function `std::pair<= Value*, bool> KXMLCore::HashTable::lookup(const Key&) [with Key =3D void*, Value =3D std::pair, Key (*ExtractKey)(const Value&) =3D KXMLCore::extractFirst [with Pai= rType =3D std::pair], HashFunctions =3D KXMLCore::DefaultHash= , Traits =3D KXMLCore::PairHashTraits, K= XMLCore::HashTraits >]': /home/alex/src/kdelibs/kxmlcore/HashTable.h:362: instantiated from `typen= ame KXMLCore::HashTable::ite= rator KXMLCore::HashTable::f= ind(const Key&) [with Key =3D void*, Value =3D std::pair, Key= (*ExtractKey)(const Value&) =3D KXMLCore::extractFirst [with PairType =3D = std::pair], HashFunctions =3D KXMLCore::DefaultHash, T= raits =3D KXMLCore::PairHashTraits, KXMLCore::H= ashTraits >]' /home/alex/src/kdelibs/kxmlcore/HashTable.h:414: instantiated from `void = KXMLCore::HashTable::remove(= const Key&) [with Key =3D void*, Value =3D std::pair, Key (*E= xtractKey)(const Value&) =3D KXMLCore::extractFirst [with PairType =3D std:= :pair], HashFunctions =3D KXMLCore::DefaultHash, Trait= s =3D KXMLCore::PairHashTraits, KXMLCore::HashT= raits >]' /home/alex/src/kdelibs/kxmlcore/HashMap.h:161: instantiated from `void KX= MLCore::HashMap::remov= e(const Key&) [with Key =3D void*, Mapped =3D void*, HashFunctions =3D KXML= Core::DefaultHash, KeyTraits =3D KXMLCore::HashTraits, Mapped= Traits =3D KXMLCore::HashTraits]' /home/alex/src/kdelibs/kxmlcore/HashMapPtrSpec.h:205: instantiated from `= void KXMLCore::HashMap, KXMLCore::HashTra= its, KXMLCore::HashTraits >::remove(P* const&) [with P =3D KJS::Obj= ectImp, Q =3D KJS::InterpreterImp]' /home/alex/src/kdelibs/kjs/internal.cpp:650: instantiated from here /home/alex/src/kdelibs/kxmlcore/HashTable.h:228: error: invalid use of '((K= XMLCore::HashTable, KXMLCore::extractFirst [= with PairType =3D std::pair], KXMLCore::DefaultHash, K= XMLCore::PairHashTraits, KXMLCore::HashTraits > >*)this)->KXMLCore::HashTable::hash [with Key =3D void*, Value =3D std::pair, Key= (*ExtractKey)(const Value&) =3D KXMLCore::extractFirst [with PairType =3D = std::pair], HashFunctions =3D KXMLCore::DefaultHash, T= raits =3D KXMLCore::PairHashTraits, KXMLCore::H= ashTraits >]' as a non-type template-argument /home/alex/src/kdelibs/kxmlcore/HashTable.h:228: error: invalid use of '((K= XMLCore::HashTable, KXMLCore::extractFirst [= with PairType =3D std::pair], KXMLCore::DefaultHash, K= XMLCore::PairHashTraits, KXMLCore::HashTraits > >*)this)->KXMLCore::HashTable::equal [with Key =3D void*, Value =3D std::pair, Ke= y (*ExtractKey)(const Value&) =3D KXMLCore::extractFirst [with PairType =3D= std::pair], HashFunctions =3D KXMLCore::DefaultHash, = Traits =3D KXMLCore::PairHashTraits, KXMLCore::= HashTraits >]' as a non-type template-argument /home/alex/src/kdelibs/kxmlcore/HashTable.h:228: error: no matching functio= n for call to `KXMLCore::HashTable, KXMLCore= ::extractFirst [with PairType =3D std::pair], KXMLCore::Defau= ltHash, KXMLCore::PairHashTraits, KXMLCo= re::HashTraits > >::lookup(void* const&)' *** Error code 1 --Boundary-00=_mg+0Dx8hLDxpjCp--