From 936d9ab1761dec5f345eb32793b655e4620d3ac2 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 11 Dec 2017 14:18:32 -0800 Subject: Disable Mapbox-GL with the Intel compiler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The MBGL code uses C++ Standard Library functionality that does not compile with ICC. Or with QNX. Or MSVC. So, great job in the Standard Library being cross-platform. When using gcc 6 headers: /usr/include/c++/6/experimental/optional(720): error: more than one instance of overloaded function "__constexpr_addressof" matches the argument list: [...] detected during instantiation of "const _Tp *std::experimental::fundamentals_v1::optional<_Tp>::operator->() const [with _Tp=std::string]" at line 47 of "platform/qt/src/http_request.cpp" When using gcc 7 headers: /usr/include/c++/7/ext/new_allocator.h(136): error: function "std::pair<_T1, _T2>::pair(const std::pair<_T1, _T2> &) [with _T1=const std::string, _T2=mbgl::gl::VertexArray]" (declared at line 292 of "/usr/include/c++/7/bits/stl_pair.h") cannot be referenced -- it is a deleted function Change-Id: I9741f017961b410c910dfffd14ff5d8b5f5120d3 Reviewed-by: Tony Sarajärvi Reviewed-by: Ville Voutilainen --- src/location/configure.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/location/configure.json b/src/location/configure.json index 4de6e865..bfa3d6f2 100644 --- a/src/location/configure.json +++ b/src/location/configure.json @@ -37,7 +37,7 @@ "condition": [ "features.opengl", "features.c++14", - "!config.qnx && (!config.win32 || config.mingw)" + "!config.qnx && !config.intel_icc && (!config.win32 || config.mingw)" ], "output": [ "privateFeature" ] }, -- cgit v1.2.1