Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.4.0 Beta2
-
None
-
OpenMandriva Cooker, clang 14.0.6
-
62fb61315e (qt/qtquick3d/dev) 64542087be (qt/qtquick3d/6.4) 64542087be (qt/tqtc-qtquick3d/6.4) 62fb61315e (qt/tqtc-qtquick3d/dev) 64542087be (qt/qtquick3d/6.4.0) 64542087be (qt/tqtc-qtquick3d/6.4.0) 64542087be (qt/qtquick3d/6.4.1)
Description
QtQuick 3D fails to build if the compiler is in C++20 mode.
```
/home/bero/temp/abf/qt6-qtquick3d/BUILD/qtquick3d-everywhere-src-6.4.0-beta2/src/3rdparty/embree/kernels/common/../../common/sys/vector.h:182:19: error: no member named 'destroy' in 'std::allocator<unsigned int>'
alloc.destroy(&items[i]);
~~~~~ ^
```
Fix is attached.
Attachments
For Gerrit Dashboard: QTBUG-105131 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
424503,2 | embree: Apply a C++20 build patch | dev | qt/qtquick3d | Status: MERGED | +2 | 0 |
424745,2 | embree: Apply a C++20 build patch | 6.4 | qt/qtquick3d | Status: MERGED | +2 | 0 |