From d2dbcca3684980373a720c9521aeb71f5add38d0 Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Fri, 15 Mar 2019 00:03:55 +0300 Subject: [PATCH 01/12] Migrate explicit-failures-markup.xml to the repository --- meta/explicit-failures-markup.xml | 242 ++++++++++++++++++++++++++++++ 1 file changed, 242 insertions(+) create mode 100644 meta/explicit-failures-markup.xml diff --git a/meta/explicit-failures-markup.xml b/meta/explicit-failures-markup.xml new file mode 100644 index 0000000..e9e36d2 --- /dev/null +++ b/meta/explicit-failures-markup.xml @@ -0,0 +1,242 @@ + + + + + + + + + Type Traits tests are run with warnings-as-errors and GCC 3.x emits warnings with this test + that I haven't been able to suppress. + + + + + + + RValue reference suppprt in VC10 is unable to handle these tests fully. + + + + + + + + + Apparently the compiler can't cope with these - later versions are fine though. + Probably work-round-able if someone would care to look into these. + + + + + + + + + + + + + + + + + + + + This failure is caused by the lack of compiler support for class template + partial specialization. A limited subset of the tested functionality is + available on the compiler through a user-side workaround (see + + http://www.boost.org/libs/type_traits/index.html#transformations for + details). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + See bug 99776 'enum UIntEnum { value = UINT_MAX } is promoted to int' + http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=22b0a6b7-120f-4ca0-9136-fa1b25b26efe + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This functionality is available only on compilers that implement C++ Core Language + Defect Report 337. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The Type Traits library is broken when used with Sunpro-5.3 and the + argument to the template is an array or function type. Most other argument types + do work as expected: in other words the functionality is limited + with this compiler, but not so much as to render the library unuseable. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The Type Traits library is broken when used with Sunpro-5.8 and the + argument to the template is a function type. Most other argument types + do work as expected: in other words the functionality is limited + with this compiler, but not so much as to render the library unuseable. + + + + + + + This fails with an internal compiler error, + there is no workaround as yet. + + + + + + + + + + + + + + + Older versions of MWCW incorrectly align pointers to member functions + (they use 12-byte boundaries, rather than a power-of-2 boundary), + leading to alignment_of / aligned_storage + to fail with these types on this compiler. + + + + From 04350b86c551f5872c13c56104ee32f711c38a19 Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Fri, 15 Mar 2019 00:08:20 +0300 Subject: [PATCH 02/12] VS2017 and VS2019 still has underlying enum type bug Opened a new bug report in their new bug report system for the issue https://developercommunity.visualstudio.com/content/problem/490264/standard-violation-enum-underlying-type-cannot-rep.html --- meta/explicit-failures-markup.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/explicit-failures-markup.xml b/meta/explicit-failures-markup.xml index e9e36d2..2f43154 100644 --- a/meta/explicit-failures-markup.xml +++ b/meta/explicit-failures-markup.xml @@ -95,9 +95,12 @@ + + See bug 99776 'enum UIntEnum { value = UINT_MAX } is promoted to int' http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx?feedbackid=22b0a6b7-120f-4ca0-9136-fa1b25b26efe + https://developercommunity.visualstudio.com/content/problem/490264/standard-violation-enum-underlying-type-cannot-rep.html From 6f7e2ec54505e26a1d66c43b15b8d11540273fca Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Fri, 15 Mar 2019 00:27:09 +0300 Subject: [PATCH 03/12] test.hpp: Suppress Clang -Wignored-qualifiers warning ../libs/type_traits/test/test.hpp:221:9: warning: 'const' qualifier on reference type 'r_type' (aka 'int &') has no effect [-Wignored-qualifiers] --- test/test.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test.hpp b/test/test.hpp index 4d0eb32..864c695 100644 --- a/test/test.hpp +++ b/test/test.hpp @@ -208,6 +208,9 @@ typedef int (UDT::*mf8)(...); # elif defined(BOOST_INTEL) # pragma warning(push) # pragma warning(disable: 21) +# elif defined(BOOST_CLANG) +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wignored-qualifiers" # endif // // This is intentional: @@ -228,6 +231,8 @@ typedef r_type cr_type; # elif defined(BOOST_INTEL) # pragma warning(pop) # pragma warning(disable: 985) // identifier truncated in debug information +# elif defined(BOOST_CLANG) +# pragma clang diagnostic pop # endif struct POD_UDT { int x; }; From 7d89ec042640bb862ae7ec7743a0880620c7980d Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 21 Mar 2019 10:23:21 +0000 Subject: [PATCH 04/12] Fix use of noexcept for msvc with /Zc:noexceptTypes- flag set. Fixes https://github.com/boostorg/type_traits/issues/118. --- include/boost/type_traits/detail/config.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/type_traits/detail/config.hpp b/include/boost/type_traits/detail/config.hpp index 00970f2..fe7596a 100644 --- a/include/boost/type_traits/detail/config.hpp +++ b/include/boost/type_traits/detail/config.hpp @@ -93,6 +93,13 @@ # define BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM # define BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE #endif +// +// If we have the SD6 macros (check for __cpp_rvalue_references succeeds), and we don't have __cpp_noexcept_function_type +// set, then don't treat noexcept functions as seperate types. This is a fix for msvc with the /Zc:noexceptTypes- flag set. +// +#if defined(__cpp_rvalue_references) && !defined(__cpp_noexcept_function_type) && !defined(BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE) +# define BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE +#endif #endif // BOOST_TT_CONFIG_HPP_INCLUDED From decc409800d970747285cccafe2ac269fe7cbf5f Mon Sep 17 00:00:00 2001 From: Nikita Kniazev Date: Fri, 22 Mar 2019 00:33:36 +0300 Subject: [PATCH 05/12] Remove expected fail on tricky_rvalue_test Was fixed in #83 --- meta/explicit-failures-markup.xml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/meta/explicit-failures-markup.xml b/meta/explicit-failures-markup.xml index 2f43154..e73de51 100644 --- a/meta/explicit-failures-markup.xml +++ b/meta/explicit-failures-markup.xml @@ -11,13 +11,6 @@ that I haven't been able to suppress. - - - - - RValue reference suppprt in VC10 is unable to handle these tests fully. - - From dea6757dbf4617257b88625c96cf55dfa36cab08 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Fri, 22 Mar 2019 19:25:33 +0000 Subject: [PATCH 06/12] Add support for noexcept detection via _NOEXCEPT_TYPES_SUPPORTED with msvc. See https://github.com/boostorg/type_traits/issues/118#issuecomment-475228526 --- include/boost/type_traits/detail/config.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/boost/type_traits/detail/config.hpp b/include/boost/type_traits/detail/config.hpp index fe7596a..7c4b4f2 100644 --- a/include/boost/type_traits/detail/config.hpp +++ b/include/boost/type_traits/detail/config.hpp @@ -94,12 +94,19 @@ # define BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE #endif // -// If we have the SD6 macros (check for __cpp_rvalue_references succeeds), and we don't have __cpp_noexcept_function_type +// If we have the SD6 macros (check for C++11's __cpp_rvalue_references), and we don't have __cpp_noexcept_function_type // set, then don't treat noexcept functions as seperate types. This is a fix for msvc with the /Zc:noexceptTypes- flag set. // #if defined(__cpp_rvalue_references) && !defined(__cpp_noexcept_function_type) && !defined(BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE) # define BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE #endif +// +// Check MSVC specific macro on older msvc compilers that don't support the SD6 macros, we don't rely on this +// if the SD6 macros *are* available as it appears to be undocumented. +// +#if defined(BOOST_MSVC) && !defined(__cpp_rvalue_references) && !defined(BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE) && !defined(_NOEXCEPT_TYPES_SUPPORTED) +# define BOOST_TT_NO_NOEXCEPT_SEPARATE_TYPE +#endif #endif // BOOST_TT_CONFIG_HPP_INCLUDED From dbc89807156566cda7ba2ee4ddf67c15ed0d33e1 Mon Sep 17 00:00:00 2001 From: Minmin Gong Date: Sun, 5 May 2019 15:21:14 -0700 Subject: [PATCH 07/12] Fix the compiling errors in VS2019 ARM64 with /std:c++17 --- include/boost/type_traits/detail/is_function_cxx_11.hpp | 4 ++-- .../type_traits/detail/is_member_function_pointer_cxx_11.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/type_traits/detail/is_function_cxx_11.hpp b/include/boost/type_traits/detail/is_function_cxx_11.hpp index 432af4e..d175e40 100644 --- a/include/boost/type_traits/detail/is_function_cxx_11.hpp +++ b/include/boost/type_traits/detail/is_function_cxx_11.hpp @@ -376,7 +376,7 @@ namespace boost { template struct is_function : public true_type {}; -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64) #ifdef __CLR_VER template struct is_function : public true_type {}; @@ -559,7 +559,7 @@ namespace boost { struct is_function : public true_type {}; #endif -#endif // _MSC_VER +#endif // defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64) #endif diff --git a/include/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp b/include/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp index d88a004..b0502cb 100644 --- a/include/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp +++ b/include/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp @@ -419,7 +419,7 @@ namespace boost { template struct is_member_function_pointer : public true_type {}; -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64) #ifdef __CLR_VER template struct is_member_function_pointer : public true_type {}; From efc0be6b55672720da464a923f97bc77b48117c8 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Thu, 13 Jun 2019 11:49:46 +0100 Subject: [PATCH 08/12] is_function_cxx_11.hpp: There's no __fastcall on clr. Update for noexcept functions, also updates CI script to test C++17 as that's required to trigger the error. Fixes: https://github.com/boostorg/type_traits/pull/124. --- appveyor.yml | 4 ++-- .../type_traits/detail/is_function_cxx_11.hpp | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 689fdd8..b1c14b2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -38,9 +38,9 @@ environment: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 ARGS: --toolset=msvc-14.1 address-model=64 cxxflags=-std:c++latest - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARGS: --toolset=msvc-14.1 address-model=64 cxxflags=-clr asynch-exceptions=on + ARGS: --toolset=msvc-14.1 cxxstd=17 address-model=64 cxxflags=-clr asynch-exceptions=on - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 - ARGS: --toolset=msvc-14.1 address-model=32 cxxflags=-clr asynch-exceptions=on + ARGS: --toolset=msvc-14.1 cxxstd=17 address-model=32 cxxflags=-clr asynch-exceptions=on - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 ARGS: --toolset=msvc-14.1 architecture=arm testing.execute=off DISABLE_CONFIG_INFO: "YES" diff --git a/include/boost/type_traits/detail/is_function_cxx_11.hpp b/include/boost/type_traits/detail/is_function_cxx_11.hpp index d175e40..4de74a7 100644 --- a/include/boost/type_traits/detail/is_function_cxx_11.hpp +++ b/include/boost/type_traits/detail/is_function_cxx_11.hpp @@ -384,9 +384,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -399,9 +401,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -414,9 +418,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -429,9 +435,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -445,9 +453,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -460,9 +470,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -475,9 +487,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -490,9 +504,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -506,9 +522,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -521,9 +539,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -536,9 +556,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; @@ -551,9 +573,11 @@ namespace boost { #ifndef _M_AMD64 template struct is_function : public true_type {}; +#ifndef __CLR_VER template struct is_function : public true_type {}; #endif +#endif #if !defined(__CLR_VER) && (defined(_M_IX86_FP) && (_M_IX86_FP >= 2) || defined(_M_X64)) template struct is_function : public true_type {}; From f9e8143ac5e6d5cb123140357e0c96a51efc4816 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 23 Jun 2019 08:50:30 +0100 Subject: [PATCH 09/12] CI: update distribution and clang testing. --- .travis.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9cac6ec..c05a642 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,8 @@ os: - linux - osx +dist : xenial + branches: only: - master @@ -159,7 +161,7 @@ matrix: - clang-3.5 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.5 + - llvm-toolchain-xenial-3.5 - os: linux env: TOOLSET=clang COMPILER=clang++-3.6 CXXSTD=03,11 @@ -169,7 +171,7 @@ matrix: - clang-3.6 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.6 + - llvm-toolchain-xenial-3.6 - os: linux env: TOOLSET=clang COMPILER=clang++-3.7 CXXSTD=03,11 @@ -179,7 +181,7 @@ matrix: - clang-3.7 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.7 + - llvm-toolchain-xenial-3.7 - os: linux env: TOOLSET=clang COMPILER=clang++-3.8 CXXSTD=03,11,14,1z @@ -189,7 +191,7 @@ matrix: - clang-3.8 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.8 + - llvm-toolchain-xenial-3.8 - os: linux env: TOOLSET=clang COMPILER=clang++-3.9 CXXSTD=03,11,14,1z @@ -199,7 +201,7 @@ matrix: - clang-3.9 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.9 + - llvm-toolchain-xenial-3.9 - os: linux compiler: clang++-4.0 @@ -234,6 +236,17 @@ matrix: - ubuntu-toolchain-r-test - llvm-toolchain-trusty-6.0 + - os: linux + compiler: clang++-7 + env: TOOLSET=clang COMPILER=clang++-7 CXXSTD=03,11,14,1z + addons: + apt: + packages: + - clang-7 + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-trusty-7 + - os: osx env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z osx_image: xcode10.1 From 17359415f5bcfeb7f82d37015b83755d4ba0e26e Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 24 Jun 2019 16:01:39 +0100 Subject: [PATCH 10/12] Make sure distributions match and are supported. --- .travis.yml | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index c05a642..1827fda 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,7 @@ matrix: - os: linux compiler: g++-4.4 env: TOOLSET=gcc COMPILER=g++-4.4 CXXSTD=98,0x + dist: trusty addons: apt: packages: @@ -45,6 +46,7 @@ matrix: - os: linux compiler: g++-4.6 env: TOOLSET=gcc COMPILER=g++-4.6 CXXSTD=03,0x + dist: trusty addons: apt: packages: @@ -54,6 +56,7 @@ matrix: - os: linux env: TOOLSET=gcc COMPILER=g++-4.7 CXXSTD=03,11 + dist: trusty addons: apt: packages: @@ -72,6 +75,7 @@ matrix: - os: linux env: TOOLSET=gcc COMPILER=g++-4.9 CXXSTD=03,11 + dist: trusty addons: apt: packages: @@ -155,53 +159,58 @@ matrix: - os: linux env: TOOLSET=clang COMPILER=clang++-3.5 CXXSTD=03,11 + dist: trusty addons: apt: packages: - clang-3.5 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-xenial-3.5 + - llvm-toolchain-trusty-3.5 - os: linux env: TOOLSET=clang COMPILER=clang++-3.6 CXXSTD=03,11 + dist: trusty addons: apt: packages: - clang-3.6 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-xenial-3.6 + - llvm-toolchain-trusty-3.6 - os: linux env: TOOLSET=clang COMPILER=clang++-3.7 CXXSTD=03,11 + dist: trusty addons: apt: packages: - clang-3.7 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-xenial-3.7 + - llvm-toolchain-trusty-3.7 - os: linux env: TOOLSET=clang COMPILER=clang++-3.8 CXXSTD=03,11,14,1z + dist: trusty addons: apt: packages: - clang-3.8 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-xenial-3.8 + - llvm-toolchain-trusty-3.8 - os: linux env: TOOLSET=clang COMPILER=clang++-3.9 CXXSTD=03,11,14,1z + dist: trusty addons: apt: packages: - clang-3.9 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-xenial-3.9 + - llvm-toolchain-trusty-3.9 - os: linux compiler: clang++-4.0 @@ -212,7 +221,7 @@ matrix: - clang-4.0 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-4.0 + - llvm-toolchain-xenial-4.0 - os: linux compiler: clang++-5.0 @@ -223,7 +232,7 @@ matrix: - clang-5.0 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-5.0 + - llvm-toolchain-xenial-5.0 - os: linux compiler: clang++-6.0 @@ -234,7 +243,7 @@ matrix: - clang-6.0 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-6.0 + - llvm-toolchain-xenial-6.0 - os: linux compiler: clang++-7 @@ -245,7 +254,7 @@ matrix: - clang-7 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-7 + - llvm-toolchain-xenial-7 - os: osx env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z From 86855dac995f9a140dd633489119ed83f1d57077 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Tue, 25 Jun 2019 08:28:17 +0100 Subject: [PATCH 11/12] CI: clang-3.7 needs "precise" distro? --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1827fda..6b02fdc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -180,15 +180,15 @@ matrix: - llvm-toolchain-trusty-3.6 - os: linux - env: TOOLSET=clang COMPILER=clang++-3.7 CXXSTD=03,11 - dist: trusty + dist: precise + env: TOOLSET=clang COMPILER=clang++-3.7 CXXSTD=03,11,14,1z addons: apt: packages: - clang-3.7 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-3.7 + - llvm-toolchain-precise-3.7 - os: linux env: TOOLSET=clang COMPILER=clang++-3.8 CXXSTD=03,11,14,1z From 5ff6b669eabbc62ca85371867671ce78a97e9d87 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Tue, 25 Jun 2019 12:58:31 +0100 Subject: [PATCH 12/12] CI: Try again to get clang-3.7 working. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6b02fdc..d7e2f8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -180,7 +180,7 @@ matrix: - llvm-toolchain-trusty-3.6 - os: linux - dist: precise + dist: trusty env: TOOLSET=clang COMPILER=clang++-3.7 CXXSTD=03,11,14,1z addons: apt: