Hello,
My try to build qt 5.8.0 from git using vs2017 rc (CL 19.10.24629) failed already when building configure. (commit 2c27ccd1c9a821edd071cae6336ecb2066ce2ab7)
the qt 5.8 beta did work. Using  CL 19.00.24213.1 (vs2015 upd3 + kb) also works.
does anyone have the same problem? Probably constexpr was activated for this compiler but not tested.
 

        cl -c -Yc -nologo -Zc:wchar_t -W3 -GR -EHsc -w34100 -w34189 -wd4577   -DUNICODE -D_CRT_SECURE_NO_DEPRECATE -DQT_BOOTSTRAPPED -DQT_BUILD_CONFIGURE -DQT_USE_QSTRINGBUILDER -DQT_VERSION_STR=\"5.8.0\" -DQT_VERSION_MA
JOR=5 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=0 -I"..\..\include" -I"..\..\include\QtCore" -I"..\..\include\QtCore\5.8.0" -I"..\..\include\QtCore\5.8.0\QtCore" -I"c:\Qt580\qtbase\tools\shared" -I"c:\Qt580\qtbase\mkspecs\
win32-msvc2012" -Fpconfigure_pch.pch -Foconfigure_pch.obj -TP c:\Qt580\qtbase\tools\configure\configure_pch.h
configure_pch.h
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(593): error C3615: constexpr function 'QAlgorithmsPrivate::qt_builtin_ctz' cannot result in a constant exp
ression
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(595): note: failure was caused by an uninitialized variable declaration
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(595): note: see usage of 'result'
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(596): note: failure was caused by an illegal statement or _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(600): error C3615: constexpr function 'QAlgorithmsPrivate::qt_builtin_clz' cannot result in a constant exp
ression
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(602): note: failure was caused by an uninitialized variable declaration
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(602): note: see usage of 'result'
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(603): note: failure was caused by an illegal statement or _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(613): error C3615: constexpr function 'QAlgorithmsPrivate::qt_builtin_ctzll' cannot result in a constant e
xpression
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(615): note: failure was caused by an uninitialized variable declaration
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(615): note: see usage of 'result'
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(616): note: failure was caused by an illegal statement or _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(621): error C3615: constexpr function 'QAlgorithmsPrivate::qt_builtin_clzll' cannot result in a constant e
xpression
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(623): note: failure was caused by an uninitialized variable declaration
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(623): note: see usage of 'result'
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(624): note: failure was caused by an illegal statement or _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(641): error C3615: constexpr function 'QAlgorithmsPrivate::qt_builtin_popcount' cannot result in a constan
t _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(643): note: failure was caused by an illegal statement or _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(645): error C3615: constexpr function 'QAlgorithmsPrivate::qt_builtin_popcount' cannot result in a constan
t _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(647): note: failure was caused by an illegal statement or _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(649): error C3615: constexpr function 'QAlgorithmsPrivate::qt_builtin_popcount' cannot result in a constan
t _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(651): note: failure was caused by an illegal statement or _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(655): error C3615: constexpr function 'QAlgorithmsPrivate::qt_builtin_popcountll' cannot result in a const
ant _expression_
c:\bldqt\5.8.0\win32-vs14-64\qtbase\include\qtcore\../../../../../../Qt580/qtbase/src/corelib/tools/qalgorithms.h(657): note: failure was caused by an illegal statement or _expression_
jom: C:\bldqt\5.8.0\WIN32-VS14-64\qtbase\tools\configure\Makefile [configure_pch.pch] Error 2
 
Regards,
Gunnar Roth
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to