[Development] Are we already allowed to use C++17 in dev?
olivier at woboq.com
Wed Jan 8 23:12:17 CET 2020
On 08.01.20 18:21, Thiago Macieira wrote:
> qcc doesn't seem to support it.
> kernel/qcoreapplication.cpp: In static member function 'static void
> kernel/qcoreapplication.cpp:601:45: error: expected ')' before ';' token
> if (int dot = newLocale.indexOf('.'); dot != -1)
> If yes, please turn that compiler off.
- qmake isn't build with -std=c++17 yet, so you can't have C++17 in the files
used by the boostrap lib. (.cpp or .h)
- examples and tests are not yet build with C++17 by default
- We still build for MacOS 10.13 which do not support the C++17 stdlib
All of this would be fixed by
But the CI would still fail because it still runs with MacOS 10.13
and we don't want running the test with MacOS 10.13 just yet because tests are
not run on MacOS 10.14 because they are failling:
IMHO, these two issues should be P0 because if we are serious about using C++17
fir Qt6, we should be able to do it now. This has been a blocker for months. If
some tests are can't be fixed on MacOs 10.14, they should then be blacklisted
so we can still proceed with C++17.
And this issue you have in
"LinuxRHEL_7_6x86_64QNXQNX_700armv7GCCqtci-linux-RHEL-7.6", is maybe something
else. (Maybe https://codereview.qt-project.org/c/qt/qtbase/+/283832 fixes it,
More information about the Development