Hello.

I heard a lot of good things about Clang and decided to try it out.
This are my very first steps but yes, I read a lot on the interwebs
already

My Problems are:
1.) I am not 100percent sure how to setup MSVC/Clang correctly. There
are many outdated posts, so i hopefully got a lot closer with my current
configure parameters. And the ones I found in the Qt Forum are mostly
saying "...you should ask on the Mailing List..."

2.) As Qt 5.8 has of course a lot of Bugs left, I am not sure if the
Clang Error is related to a) my configure parameters b) Clang 3.9 or c)
a Bug in the Qt Framework.

The Error is: QMAKE does not get compiled.
The Error Message is:

In file included from ..\include\QtCore\5.8.0\QtCore\private/qvariant_p.h:1:
..\include\QtCore\5.8.0\QtCore\private/../../../../../../../qt5srcgit/qt5/qtbase/src/corelib/kernel/qvariant_p.h(433,27):
 error: use of overloaded operator '<<' is ambiguous (with operand types
'QDebug' and 'nullptr_t')
dbg.nospace() << *v_cast<T>(d);
~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~

I calling a Batch File from the VS CMD Shell with the following content:

cd c:\xsdf64
set CLANG-CL=-Wambiguous-member-template-

set
PATH=C:\qt5srcgit\qt5\gnuwin32\bin;C:\Perlx64\perl\bin;C:\Pythonx64\;C:\Rubyx64\bin;%PATH%;C:\git\bin\

c:\qt5srcgit\qt5\configure -make-tool jom -no-pch -platform
win32-clang-msvc2015 -verbose -opensource -confirm-license -prefix
c:\qt-build64 -opengl dynamic -release -mp -openssl -nomake tests
-nomake examples -no-warnings-are-errors -skip qt3d -skip qtactiveqt
-skip qtandroidextras -skip qtcharts -skip qtdatavis3d -skip qtgamepad
-skip qtmacextras -skip qtpurchasing -skip qtscript -skip qtscxml -skip
qtsensors -skip qtserialport -skip qtserialbus -skip qtvirtualkeyboard
-skip qtnetworkauth -skip qtspeech

After that, I simply call
jom -j6 >compile.log

Used Software:
Windows 10 14393.222
Windows SDK 10.0.10586 (14393 is not yet supported by Chromium)
VS 2015 Community Update 3, 14.0.25431.01
Jom 1.1.1 + 1.1.0
Clang 3.9 x64 Windows Binaries
Qt 5.8 latest Git Branch

I also tried Qt 5.7.0 (which compiles QMAKE fine with all mentioned
Clang Versions. But they break with ANGLE compilation Error.), Clang
3.8.0 and 3.8.1.

Any hint is appreciated
Thanks!
Oliver

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to