[Kst] Compilation problem

Barth Netterfield netterfield at astro.utoronto.ca
Tue Dec 8 19:22:19 CET 2009


Woah, how did that happen?

I've just committed the rest.

cbn

On Tuesday 08 December 2009 09:31:27 Brisset, Nicolas wrote:
> Hi,
> 
> 
> 
> I have just updated to try the latest fix from Barth and I get a compile
> error on Suse 10.0 in a clean build/ dir:
> 
> 
> 
> compiling ../../../src/libkstmath/dataobject.cpp
> 
> 
> ../../../src/libkstmath/dataobject.cpp: In member function 'virtual void
> Kst::DataObject::replaceDependency(Kst::DataObjectPtr,
> Kst::DataObjectPtr)':
> 
> ../../../src/libkstmath/dataobject.cpp:630: error: no matching function
> for call to 'QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHash<QString, Kst::ScalarPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::Scalar*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHashIterator<QString, Kst::Scalar*>&)
> 
> ../../../src/libkstmath/dataobject.cpp:640: error: no matching function
> for call to 'QHashIterator<QString, Kst::String*>::QHashIterator(const
> QHash<QString, Kst::StringPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::String*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::String*>::QHashIterator(const
> QHashIterator<QString, Kst::String*>&)
> 
> ../../../src/libkstmath/dataobject.cpp:660: error: no matching function
> for call to 'QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHash<QString, Kst::ScalarPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::Scalar*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHashIterator<QString, Kst::Scalar*>&)
> 
> ../../../src/libkstmath/dataobject.cpp: In member function 'virtual void
> Kst::DataObject::replaceDependency(Kst::VectorPtr, Kst::VectorPtr)':
> 
> ../../../src/libkstmath/dataobject.cpp:701: error: no matching function
> for call to 'QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHash<QString, Kst::ScalarPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::Scalar*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHashIterator<QString, Kst::Scalar*>&)
> 
> ../../../src/libkstmath/dataobject.cpp:712: error: no matching function
> for call to 'QHashIterator<QString, Kst::String*>::QHashIterator(const
> QHash<QString, Kst::StringPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::String*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::String*>::QHashIterator(const
> QHashIterator<QString, Kst::String*>&)
> 
> ../../../src/libkstmath/dataobject.cpp: In member function 'virtual void
> Kst::DataObject::replaceDependency(Kst::MatrixPtr, Kst::MatrixPtr)':
> 
> ../../../src/libkstmath/dataobject.cpp:731: error: no matching function
> for call to 'QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHash<QString, Kst::ScalarPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::Scalar*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHashIterator<QString, Kst::Scalar*>&)
> 
> ../../../src/libkstmath/dataobject.cpp: In member function 'virtual bool
> Kst::DataObject::uses(Kst::ObjectPtr) const':
> 
> ../../../src/libkstmath/dataobject.cpp:751: error: no matching function
> for call to 'QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHash<QString, Kst::ScalarPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::Scalar*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHashIterator<QString, Kst::Scalar*>&)
> 
> ../../../src/libkstmath/dataobject.cpp:760: error: no matching function
> for call to 'QHashIterator<QString, Kst::String*>::QHashIterator(const
> QHash<QString, Kst::StringPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::String*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::String*>::QHashIterator(const
> QHashIterator<QString, Kst::String*>&)
> 
> ../../../src/libkstmath/dataobject.cpp:775: error: no matching function
> for call to 'QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHash<QString, Kst::ScalarPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::Scalar*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHashIterator<QString, Kst::Scalar*>&)
> 
> ../../../src/libkstmath/dataobject.cpp:793: error: no matching function
> for call to 'QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHash<QString, Kst::ScalarPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::Scalar*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHashIterator<QString, Kst::Scalar*>&)
> 
> ../../../src/libkstmath/dataobject.cpp:803: error: no matching function
> for call to 'QHashIterator<QString, Kst::String*>::QHashIterator(const
> QHash<QString, Kst::StringPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::String*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::String*>::QHashIterator(const
> QHashIterator<QString, Kst::String*>&)
> 
> ../../../src/libkstmath/dataobject.cpp:822: error: no matching function
> for call to 'QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHash<QString, Kst::ScalarPtr>&)'
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note: candidates
> are: QHashIterator<Key, T>::QHashIterator(const QHash<Key, T>&) [with
> Key = QString, T = Kst::Scalar*]
> 
> /scratch/franz/brisset/include/QtCore/qhash.h:1010: note:
> QHashIterator<QString, Kst::Scalar*>::QHashIterator(const
> QHashIterator<QString, Kst::Scalar*>&)
> 
> 
> 
> I am going to try other platforms, but I believe there is a problem
> here.
> 
> 
> 
> Nicolas Brisset
> 
> ______________
> 
> Research & Development - Eurocopter Group
> 
> ETGC - General Engineering / Flight Controls Systems
> 
> Phone: +49 (0)89-60009358
> 
> E-mail: nicolas.brisset at eurocopter.com
> <mailto:nicolas.brisset at eurocopter.com>
> 
> 
> 
> 
> 
> Eurocopter Deutschland GmbH
> Sitz der Gesellschaft/Registered Office: Donauwoerth
> Registergericht/Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr. Lutz
>  Bertling Geschaeftsfuehrung/Board of Management:
> Dr. Wolfgang Schoder, Vorsitzender/CEO; Friedrich-Wilhelm Hormel; Ralf
>  Barnscheidt
> 
> CONFIDENTIALITY NOTICE
> 
> This communication and the information it contains is intended for the
>  addressee(s) named above and for no other persons or organizations. It is
>  confidential and may be legally privileged and protected by law. The
>  unauthorized use, copying or disclosure of this communication or any part
>  of it is prohibited and may be unlawful. If you have received this
>  communication in error, kindly notify us by return e-mail and discard
>  and/or delete the communication. Thank you very much. It is possible for
>  e-mails to be intercepted or affected by viruses. Whilst we maintain virus
>  checks on our e-mails, we accept no liability for viruses or other
>  material which might be introduced with this message.
> 


More information about the Kst mailing list