Hi,

I tryed to build Qwt from svn with Qt 4.6.0-tp1 (MinGW 3.4.5). The following build error happened:

Qt Code:
  1. ../../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]':
  2. ../../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]'
  3. ../../include/QtCore/../../src/corelib/tools/qset.h:175: instantiated from `QSet<V>::const_iterator QSet<V>::insert(const T&) [with T = qreal]'
  4. ../../include/QtCore/../../src/corelib/tools/qset.h:309: instantiated from `QSet<T> QList<T>::toSet() const [with T = qreal]'
  5. qwt_valuelist.h:48: instantiated from here
  6. ../../include/QtCore/../../src/corelib/tools/qhash.h:865: error: call of overloaded `qHash(const double&)' is ambiguous
  7. ../../include/QtCore/../../src/corelib/tools/qhash.h:63: note: candidates are: uint qHash(char)
  8. ../../include/QtCore/../../src/corelib/tools/qhash.h:64: note: uint qHash(uchar)
  9. ../../include/QtCore/../../src/corelib/tools/qhash.h:65: note: uint qHash(signed char)
  10. ../../include/QtCore/../../src/corelib/tools/qhash.h:66: note: uint qHash(ushort)
  11. ../../include/QtCore/../../src/corelib/tools/qhash.h:67: note: uint qHash(short int)
  12. ../../include/QtCore/../../src/corelib/tools/qhash.h:68: note: uint qHash(uint)
  13. ../../include/QtCore/../../src/corelib/tools/qhash.h:69: note: uint qHash(int)
  14. ../../include/QtCore/../../src/corelib/tools/qhash.h:71: note: uint qHash(ulong)
  15. ../../include/QtCore/../../src/corelib/tools/qhash.h:78: note: uint qHash(long int)
  16. ../../include/QtCore/../../src/corelib/tools/qhash.h:80: note: uint qHash(quint64)
  17. ../../include/QtCore/../../src/corelib/tools/qhash.h:87: note: uint qHash(qint64)
  18. ../../include/QtCore/../../src/corelib/tools/qhash.h:88: note: uint qHash(QChar)
To copy to clipboard, switch view to plain text mode