From 0d81799f8626d47afcfb5a8fef0445024e89530e Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Wed, 30 May 2018 09:47:09 -0400 Subject: [PATCH 1/2] build_system: fix Clang warning Clang and MSVC are not agreeing on this issue. MSVC complains about an implicit capture while Clang says it's an unused lambda capture. For now, we'll ignore the Clang warning. --- cmake/compiler_flags.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/compiler_flags.cmake b/cmake/compiler_flags.cmake index 7dbf3d0c8f..44255dd31d 100644 --- a/cmake/compiler_flags.cmake +++ b/cmake/compiler_flags.cmake @@ -26,9 +26,9 @@ else() set(warnings "${warnings} -Wlogical-op") elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(warnings "${warnings} -Wno-missing-braces") + set(warnings "${warnings} -Wno-missing-braces -Wno-unused-lambda-capture") elseif(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") - set(warnings "${warnings} -Wno-missing-braces -Wno-unused-parameter") + set(warnings "${warnings} -Wno-missing-braces -Wno-unused-parameter -Wno-unused-lambda-capture") endif() # Otherwise tinyxml2 complains. From e1861c33631f2979600cf98ff6f272b8fc9e4bee Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Wed, 30 May 2018 13:01:22 -0400 Subject: [PATCH 2/2] travis: bump XCode version to 9.3 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fd9d82fe7c..9ace58ad9e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -69,7 +69,7 @@ matrix: env: - MATRIX_EVAL="BUILD_TARGET=docker_build_fedora_28" - os: osx - osx_image: xcode9.2 + osx_image: xcode9.3 env: - BUILD_TARGET=osx_build