Hi,
I tryed to build Qwt from svn with Qt 4.6.0-tp1 (MinGW 3.4.5). The following build error happened:
../../include/QtCore/../../src/corelib/tools/qhash.h: In member function `typename QHash<K, V>::Node** QHash<K, V>::findNode(const Key&, uint*) const [with Key = qreal, T = QHashDummyValue]':
../../include/QtCore/../../src/corelib/tools/qhash.h:742: instantiated from `typename QHash<K, V>::iterator QHash<K, V>::insert(const Key&, const T&) [with Key = qreal, T = QHashDummyValue]'
../../include/QtCore/../../src/corelib/tools/qset.h:175: instantiated from `QSet<V>::const_iterator QSet<V>::insert(const T&) [with T = qreal]'
../../include/QtCore/../../src/corelib/tools/qset.h:309: instantiated from `QSet<T> QList<T>::toSet() const [with T = qreal]'
qwt_valuelist.h:48: instantiated from here
../../include/QtCore/../../src/corelib/tools/qhash.h:865: error: call of overloaded `qHash(const double&)' is ambiguous
../../include/QtCore/../../src/corelib/tools/qhash.h:63: note: candidates are: uint qHash(char)
../../include/QtCore/../../src/corelib/tools/qhash.h:64: note: uint qHash(uchar)
../../include/QtCore/../../src/corelib/tools/qhash.h:65: note: uint qHash(signed char)
../../include/QtCore/../../src/corelib/tools/qhash.h:66: note: uint qHash(ushort)
../../include/QtCore/../../src/corelib/tools/qhash.h:67: note: uint qHash(short int)
../../include/QtCore/../../src/corelib/tools/qhash.h:68: note: uint qHash(uint)
../../include/QtCore/../../src/corelib/tools/qhash.h:69: note: uint qHash(int)
../../include/QtCore/../../src/corelib/tools/qhash.h:71: note: uint qHash(ulong)
../../include/QtCore/../../src/corelib/tools/qhash.h:78: note: uint qHash(long int)
../../include/QtCore/../../src/corelib/tools/qhash.h:80: note: uint qHash(quint64)
../../include/QtCore/../../src/corelib/tools/qhash.h:87: note: uint qHash(qint64)
../../include/QtCore/../../src/corelib/tools/qhash.h:88: note: uint qHash(QChar)
../../include/QtCore/../../src/corelib/tools/qhash.h: In member function `typename QHash<K, V>::Node** QHash<K, V>::findNode(const Key&, uint*) const [with Key = qreal, T = QHashDummyValue]':
../../include/QtCore/../../src/corelib/tools/qhash.h:742: instantiated from `typename QHash<K, V>::iterator QHash<K, V>::insert(const Key&, const T&) [with Key = qreal, T = QHashDummyValue]'
../../include/QtCore/../../src/corelib/tools/qset.h:175: instantiated from `QSet<V>::const_iterator QSet<V>::insert(const T&) [with T = qreal]'
../../include/QtCore/../../src/corelib/tools/qset.h:309: instantiated from `QSet<T> QList<T>::toSet() const [with T = qreal]'
qwt_valuelist.h:48: instantiated from here
../../include/QtCore/../../src/corelib/tools/qhash.h:865: error: call of overloaded `qHash(const double&)' is ambiguous
../../include/QtCore/../../src/corelib/tools/qhash.h:63: note: candidates are: uint qHash(char)
../../include/QtCore/../../src/corelib/tools/qhash.h:64: note: uint qHash(uchar)
../../include/QtCore/../../src/corelib/tools/qhash.h:65: note: uint qHash(signed char)
../../include/QtCore/../../src/corelib/tools/qhash.h:66: note: uint qHash(ushort)
../../include/QtCore/../../src/corelib/tools/qhash.h:67: note: uint qHash(short int)
../../include/QtCore/../../src/corelib/tools/qhash.h:68: note: uint qHash(uint)
../../include/QtCore/../../src/corelib/tools/qhash.h:69: note: uint qHash(int)
../../include/QtCore/../../src/corelib/tools/qhash.h:71: note: uint qHash(ulong)
../../include/QtCore/../../src/corelib/tools/qhash.h:78: note: uint qHash(long int)
../../include/QtCore/../../src/corelib/tools/qhash.h:80: note: uint qHash(quint64)
../../include/QtCore/../../src/corelib/tools/qhash.h:87: note: uint qHash(qint64)
../../include/QtCore/../../src/corelib/tools/qhash.h:88: note: uint qHash(QChar)
To copy to clipboard, switch view to plain text mode
Bookmarks