From 71d64e8cd9892beb1220511323b5459aa9809645 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 25 Jul 2016 10:49:44 +0200 Subject: [PATCH] Default to c++14 / drop g++-4.8 from testing matrix --- .travis.yml | 21 --------------------- CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc4705373..11370096f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,14 +42,6 @@ matrix: packages: ['g++-5', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev', 'ccache'] env: CCOMPILER='gcc-5' CXXCOMPILER='g++-5' BUILD_TYPE='Debug' COVERAGE=ON - - os: linux - compiler: "gcc-4.8-debug" - addons: &gcc48 - apt: - sources: ['ubuntu-toolchain-r-test'] - packages: ['g++-4.8', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev', 'ccache'] - env: CCOMPILER='gcc-4.8' CXXCOMPILER='g++-4.8' BUILD_TYPE='Debug' - - os: linux compiler: "clang-3.8-debug" addons: &clang38 @@ -76,19 +68,6 @@ matrix: compiler: "gcc-5-release-i686" env: TARGET_ARCH='i686' CCOMPILER='gcc-5' CXXCOMPILER='g++-5' BUILD_TYPE='Release' - - os: linux - compiler: "gcc-4.8-release-armhf" - env: TARGET_ARCH='armhf' CCOMPILER='arm-linux-gnueabihf-gcc-4.8' CXXCOMPILER='arm-linux-gnueabihf-g++-4.8' BUILD_TYPE='Release' - - # Disabled because of CI slowness - #- os: linux - #- compiler: gcc - #- addons: &gcc48 - #- apt: - #- sources: ['ubuntu-toolchain-r-test'] - #- packages: ['g++-4.8', 'libbz2-dev', 'libstxxl-dev', 'libstxxl1', 'libxml2-dev', 'libzip-dev', 'lua5.1', 'liblua5.1-0-dev', 'libtbb-dev', 'libgdal-dev', 'libluabind-dev', 'libboost-all-dev'] - #- env: CCOMPILER='gcc-4.8' CXXCOMPILER='g++-4.8' BUILD_TYPE='Release' - # Disabled because of CI slowness #- os: linux #- compiler: clang diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ee57b443..362eefcaa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -222,7 +222,7 @@ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} ${LINKER_FLAGS}") # Activate C++11 if(NOT ${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14") endif() # Configuring other platform dependencies