From 40a12d758b506852d568949c7b20d2962f2dd761 Mon Sep 17 00:00:00 2001 From: micbou Date: Mon, 5 Jun 2017 11:49:10 +0200 Subject: [PATCH] Require GCC 4.9 A compiler with good enough C++11 support is required to build ycmd. --- .travis.yml | 4 +++- ci/travis/travis_install.linux.sh | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d88b1a6..8919cb43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,7 +34,9 @@ addons: packages: - cmake-data - cmake - - g++-4.8 + # 4.9 is the first version of GCC with good enough C++11 support to build + # ycmd. + - g++-4.9 - ninja-build # Everything below is a Python build dep (though it depends on Python # version). We need them because pyenv builds Python. diff --git a/ci/travis/travis_install.linux.sh b/ci/travis/travis_install.linux.sh index b09d1ab1..7124a4bc 100644 --- a/ci/travis/travis_install.linux.sh +++ b/ci/travis/travis_install.linux.sh @@ -5,8 +5,8 @@ mkdir ${HOME}/bin -ln -s /usr/bin/g++-4.8 ${HOME}/bin/c++ -ln -s /usr/bin/gcc-4.8 ${HOME}/bin/cc +ln -s /usr/bin/g++-4.9 ${HOME}/bin/c++ +ln -s /usr/bin/gcc-4.9 ${HOME}/bin/cc export PATH=${HOME}/bin:${PATH}