From 74df5203628b47931b4edcb5e8fe352f40fe7df4 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Wed, 25 Apr 2018 11:45:12 -0700 Subject: Fix build with clang The code uses both deprecated C++98 std::auto_ptr and C++14 TR std::experimental::optional and thus depends rather heavily on being compiled with an exact C++ version. --- mapbox-gl-native.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/mapbox-gl-native.pro b/mapbox-gl-native.pro index 08d53e4ae7..ffd7012371 100644 --- a/mapbox-gl-native.pro +++ b/mapbox-gl-native.pro @@ -3,6 +3,7 @@ TARGET = qmapboxgl load(qt_helper_lib) CONFIG += qt c++14 exceptions warn_off staticlib object_parallel_to_source +CONFIG -= c++1z QT += network-private \ gui-private \ -- cgit v1.2.1