[Development] qt5 compilation error (clang libc++)

Sylvain Pointeau sylvain.pointeau at gmail.com
Sat Aug 25 10:42:32 CEST 2012


Sorry:

cd corelib/ && ( test -f Makefile ||
/Users/sylvain/development/lib/qt5/qtbase/bin/qmake
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/corelib.pro -o
Makefile ) && make -f Makefile
clang++ -c -Xclang -include-pch -Xclang .pch/release-shared/QtCore/c++.pch
-pipe -mmacosx-version-min=10.6 -stdlib=libc++ -O2 -std=c++11
-fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC
-DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB -DQT_NO_USING_NAMESPACE
-DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
-DQT_DEPRECATED_WARNINGS -DPCRE_HAVE_CONFIG_H -DHB_EXPORT=Q_CORE_EXPORT
-DQT_NO_ICONV -DQT_NO_DEBUG_PLUGIN_CHECK -DQT_NO_DEBUG
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/macx-clang-libc++
-I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.0.0
-I../../include/QtCore/5.0.0/QtCore -Iglobal -I../3rdparty/pcre
-I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4
-I.moc/release-shared -o .obj/release-shared/qregexp.o tools/qregexp.cpp
In file included from tools/qregexp.cpp:1:
In file included from
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/global/qt_pch.h:66:
In file included from
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/../../include/QtCore/qvariant.h:1:
In file included from
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/../../include/QtCore/../../src/corelib/kernel/qvariant.h:50:
In file included from
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/../../include/QtCore/qhash.h:1:
/Users/sylvain/development/lib/qt5/qtbase/src/corelib/../../include/QtCore/../../src/corelib/tools/qhash.h:107:35:
error: no matching function for call to 'qHash'
    Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))


On Sat, Aug 25, 2012 at 10:33 AM, Thiago Macieira <thiago.macieira at intel.com
> wrote:

> On sábado, 25 de agosto de 2012 10.17.59, Sylvain Pointeau wrote:
> > and I have this error:
> >
> > tools/qregexp.cpp:3818:6: note: candidate function not viable: requires
> 2
> > arguments, but 1 was provided
> > uint qHash(const QRegExpEngineKey &key, uint seed)
>
> That's not an error, that's a note.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>      Intel Sweden AB - Registration Number: 556189-6027
>      Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120825/cc7443bb/attachment.html>


More information about the Development mailing list