You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
There is no expected behaviour as Qt5 build against MacOS 13 is not tested
Actual behavior
Build Errors:
include/mbgl/util/unique_any.hpp:51:31: error: no member named 'move'in namespace 'std'
vtable->move(std::move(rhs.storage), storage);~~~~~^
include/mbgl/util/unique_any.hpp:69:25: error: no member named 'move'in namespace 'std'
unique_any(std::move(rhs)).swap(*this);~~~~~^
include/mbgl/util/unique_any.hpp:91:33: error: no type named 'move'in namespace 'std'
unique_any tmp(std::move(rhs));~~~~~^
include/mbgl/util/unique_any.hpp:94:39: error: no member named 'move'in namespace 'std'
rhs.vtable->move(std::move(storage), rhs.storage);~~~~~^
include/mbgl/util/unique_any.hpp:98:35: error: no member named 'move'in namespace 'std'
vtable->move(std::move(tmp.storage), storage);~~~~~^
include/mbgl/util/unique_any.hpp:154:41: error: no member named 'move'in namespace 'std'; did you mean simply 'move'?
new (&dest.stack) ValueType(std::move(reinterpret_cast<ValueType&>(src.stack)));
^~~~~~~~~
move
include/mbgl/util/unique_any.hpp:153:14: note: 'move' declared here
void move(Storage&& src, Storage& dest) override {
^
include/mbgl/util/unique_any.hpp:257:49: error: no member named 'move'in namespace 'std'
auto retValue = static_cast<ValueType>(std::move(*temp));~~~~~^
include/mbgl/util/unique_any.hpp:259:17: error: no member named 'move'in namespace 'std'return std::move(retValue);~~~~~^
8 errors generated.
Adding #include <utility> to include/mbgl/util/unique_any.hpp solved the problem and I was able to build Qt 5.15.9 against MacOS Ventura but I don't know the repercussion of adding this for this or any other platforms.
The text was updated successfully, but these errors were encountered:
Platform: MacOS Ventura 13.3.1(a)
Mapbox SDK version: qt-staging (Qt 5.15.9)
Steps to trigger behavior
Expected behavior
There is no expected behaviour as Qt5 build against MacOS 13 is not tested
Actual behavior
Build Errors:
Command executed by make:
Possible solution:
Adding
#include <utility>
to include/mbgl/util/unique_any.hpp solved the problem and I was able to build Qt 5.15.9 against MacOS Ventura but I don't know the repercussion of adding this for this or any other platforms.The text was updated successfully, but these errors were encountered: