From 0585e053a8723fbdea4deefe17b6a6512274cde5 Mon Sep 17 00:00:00 2001 From: Robert Edmonds Date: Mon, 13 Aug 2018 20:24:05 -0400 Subject: [PATCH] .travis.yml: Force C++ standard language version The xenial Travis-CI environment uses a g++ version that is old enough that it doesn't use C++11 or newer by default, so we have to force it by setting CXX to "g++ -std=c++11". --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index b5a6722..c97c8fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ addons: env: global: + - CXX="g++ -std=c++11" - PROTOBUF_VERSION=3.6.1 - PKG_CONFIG_PATH=$HOME/protobuf-$PROTOBUF_VERSION-bin/lib/pkgconfig