Qt Declarative (Quick 2)
Go to file
Erik Verbruggen b3b1c3a573 Fix compilation issue with clang in C++11 mode.
As with all other qHash functions, providing a default value for the
seed is needed.

Compiler error:

In file included from qml/v8/qv8engine.cpp:42:
In file included from qml/v8/qv8engine_p.h:57:
In file included from /Users/erik/dev/qt5-stable/qtbase/include/QtCore/qvariant.h:1:
In file included from /Users/erik/dev/qt5-stable/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:50:
In file included from /Users/erik/dev/qt5-stable/qtbase/include/QtCore/qhash.h:1:
/Users/erik/dev/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qhash.h:107:35: error: no matching function for call to 'qHash'
    Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~

[skipping macro expansion and candidate qHash functions]

qml/v8/qv8engine_p.h:89:13: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline uint qHash(const v8::Handle<v8::Object> &object, uint seed)

Change-Id: I917785ce5ce596757fe06ced1536797090bb0f77
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
2012-11-08 17:15:34 +01:00
bin Change copyrights from Nokia to Digia 2012-09-23 08:22:24 +02:00
doc Update docs after modularization of docs 2012-10-12 11:59:44 +02:00
examples Fixes the examples shared macro. 2012-11-08 15:43:08 +01:00
src Fix compilation issue with clang in C++11 mode. 2012-11-08 17:15:34 +01:00
tests When declarative debug tests fail in CI, confirm timeout as reason 2012-11-08 17:14:39 +01:00
tools qmlscene can start with either an Item or Window as the qml root 2012-11-05 18:09:26 +01:00
.gitattributes Update the git-archive export options 2012-09-10 14:24:05 +02:00
.gitignore Add doc/qtqml and doc/qtquick to .gitignore 2012-08-28 12:11:27 +02:00
.qmake.conf centralize load(qt_build_config)s in .qmake.conf 2012-09-11 21:13:28 +02:00
.tag Update the git-archive export options 2012-09-10 14:24:05 +02:00
qtdeclarative.pro Update docs after modularization of docs 2012-10-12 11:59:44 +02:00
sync.profile Remove remnants of QQmlImageProvider 2012-08-09 11:50:58 +02:00