Solution to error qalgorithms.h(847): error C3615: constexpr function 'qCountLeadingZeroBits' cannot result in a constant expression.
-
Re: Problem with new Visual Studio update 2017 Version 15.8.0 and Qt 5.9.5
According to this email list message: https://lists.qt-project.org/pipermail/development/2018-August/033409.html
Applying this commit to qalgorithms.h should fix this error. I ran into this issue when building cmake-gui: https://gitlab.kitware.com/cmake/cmake/issues/19511
This issue is still happening in Qt 5.10.1 with VS2017 15.9.13. @Qt5 devs
-
Re: Problem with new Visual Studio update 2017 Version 15.8.0 and Qt 5.9.5
According to this email list message: https://lists.qt-project.org/pipermail/development/2018-August/033409.html
Applying this commit to qalgorithms.h should fix this error. I ran into this issue when building cmake-gui: https://gitlab.kitware.com/cmake/cmake/issues/19511
This issue is still happening in Qt 5.10.1 with VS2017 15.9.13. @Qt5 devs
Hi and welcome to devnet forum
This is a pure user forum and it is not monitored for bug reports. You need to check on the bug report tool https://bugreports.qt.io/secure/Dashboard.jspa and eventually report there. Otherwise it is going to be lost. When you find the bug report, please the number resp the link to it here. Others may vote on it for increasing the importance for a solution.
-
Hi and welcome to devnet forum
This is a pure user forum and it is not monitored for bug reports. You need to check on the bug report tool https://bugreports.qt.io/secure/Dashboard.jspa and eventually report there. Otherwise it is going to be lost. When you find the bug report, please the number resp the link to it here. Others may vote on it for increasing the importance for a solution.
@koahnig The bugreport is QTBUG-67259.
@zwcloud: You can comment on the bugreport, but there will be no more 5.10 releases. If the problem still occurs in the 5.9, 5.12, or 5.13 branch, there might be some more fix needed.
Regards
-
Re: Problem with new Visual Studio update 2017 Version 15.8.0 and Qt 5.9.5
According to this email list message: https://lists.qt-project.org/pipermail/development/2018-August/033409.html
Applying this commit to qalgorithms.h should fix this error. I ran into this issue when building cmake-gui: https://gitlab.kitware.com/cmake/cmake/issues/19511
This issue is still happening in Qt 5.10.1 with VS2017 15.9.13. @Qt5 devs
@zwcloud said in Solution to error qalgorithms.h(847): error C3615: constexpr function 'qCountLeadingZeroBits' cannot result in a constant expression.:
This issue is still happening in Qt 5.10.1 with VS2017 15.9.13. @Qt5 devs
How about on Qt 5.12.4 LTS or Qt 5.13.0?
-
@zwcloud said in Solution to error qalgorithms.h(847): error C3615: constexpr function 'qCountLeadingZeroBits' cannot result in a constant expression.:
This issue is still happening in Qt 5.10.1 with VS2017 15.9.13. @Qt5 devs
How about on Qt 5.12.4 LTS or Qt 5.13.0?
-
@JKSH Haven't tried that yet.
I should say it astonished me that Qt forum is such an active community. I had thought Qt is dying HaHa.
@zwcloud said in Solution to error qalgorithms.h(847): error C3615: constexpr function 'qCountLeadingZeroBits' cannot result in a constant expression.:
I should say it astonished me that Qt forum is such an active community. I had thought Qt is dying HaHa.
Qt is most definitely growing!
https://simplywall.st/stocks/fi/software/hel-qtcom/qt-group-oyj-shares
-
@zwcloud said in Solution to error qalgorithms.h(847): error C3615: constexpr function 'qCountLeadingZeroBits' cannot result in a constant expression.:
I should say it astonished me that Qt forum is such an active community. I had thought Qt is dying HaHa.
Qt is most definitely growing!
https://simplywall.st/stocks/fi/software/hel-qtcom/qt-group-oyj-shares
@JKSH said in Solution to error qalgorithms.h(847): error C3615: constexpr function 'qCountLeadingZeroBits' cannot result in a constant expression.:
@zwcloud said in Solution to error qalgorithms.h(847): error C3615: constexpr function 'qCountLeadingZeroBits' cannot result in a constant expression.:
I should say it astonished me that Qt forum is such an active community. I had thought Qt is dying HaHa.
Qt is most definitely growing!
https://simplywall.st/stocks/fi/software/hel-qtcom/qt-group-oyj-shares
That is amazing! Why didn't I buy Qt stocks in January?!