From 6e6170ae1cff1970de45f6bfbf0c700ed7369f84 Mon Sep 17 00:00:00 2001 From: Danila Malyutin Date: Mon, 27 Jul 2015 03:40:42 +0300 Subject: [PATCH] Try to disable -Wformat-security at all only fmt triggered it (gcc bug?) and we have clang too so we can live with that until they fix it. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5e31b771e0..519da2ef1d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,7 @@ before_install: - download_extract() { aria2c -x 16 $1 -o $2 && tar -xf $2; } - if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.9; - export CXX="g++-4.9" CC="gcc-4.9"; + export CXX="g++-4.9" CC="gcc-4.9" CXXFLAGS="-Wno-format-security"; export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'; else sudo apt-get install -qq --allow-unauthenticated clang-3.6 libstdc++-4.8-dev;