-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11.2
-
None
-
-
56f949ad3ca8a13d9c49913bae1c9396946672e2
With the fixed proposed in QTBUG-70631 my build gets past the configuration phase and into building the various modules.
The build then errors out in module qtlocation on mapbox-gl-native with lots of errors like these:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/platform/qt/src/http_file_source.cpp:1:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/platform/qt/src/http_file_source.hpp:3:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/storage/http_file_source.hpp:3:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/storage/file_source.hpp:3:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/storage/response.hpp:4:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/optional.hpp:3:
/home/development/4suse42.3-android/android-ndk-r18/sources/cxx-stl/llvm-libc++/include/experimental/optional:11:2: error: "<experimental/optional> has been removed. Use <optional> instead."
#error "<experimental/optional> has been removed. Use <optional> instead."
^
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/platform/qt/src/http_file_source.cpp:1:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/platform/qt/src/http_file_source.hpp:3:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/storage/http_file_source.hpp:3:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/storage/file_source.hpp:3:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/storage/response.hpp:4:
/home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/optional.hpp:8:23: error: no member named 'experimental' in namespace 'std'
using optional = std::experimental::optional<T>;
~~~~~^
/home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/optional.hpp:10:24: error: no member named 'experimental' in namespace 'std'
using nullopt_t = std::experimental::nullopt_t;
~~~~~^
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/platform/qt/src/http_request.cpp:1:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/platform/qt/src/http_request.hpp:3:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/storage/http_file_source.hpp:3:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/storage/file_source.hpp:3:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/storage/response.hpp:4:
In file included from /home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/optional.hpp:3:
/home/development/qt-everywhere-src-5.11.2/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/optional.hpp/home/development/4suse42.3-android/android-ndk-r18/sources/cxx-stl/llvm-libc++/include/experimental/optional:11:11:11:2: : error: error: unknown"<experiment
al/optional> has been removed. Use <optional> instead." type
name 'nullopt_t'; did you mean 'nullptr_t'?
#error "<experimental/optional> has been removed. Use <optional> instead."
^
constexpr nullopt_t nullopt = std::experimental::nullopt;
^~~~~~~~~
nullptr_t
/home/development/4suse42.3-android/android-ndk-r18/sources/cxx-stl/llvm-libc++/include/stddef.h:52:12: note: 'nullptr_t' declared here
using std::nullptr_t;