From 8e45197d4df8f2b98cf7544eb52200dce5b81fbe Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Tue, 31 Jan 2023 13:44:57 -0800 Subject: [PATCH] Add -Wunused-template only to clang-14 builds --- test/Jamfile.v2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index a91dc1e0..c828eea1 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -10,7 +10,7 @@ import testing ; # https://github.com/boostorg/type_traits/issues/165 local gcc-flags = -Wsign-promo -Wconversion -Wsign-conversion -Wfloat-equal -Wshadow -Wno-variadic-macros ; -local clang-flags = $(gcc-flags) -Wno-c99-extensions -Wunused-template ; +local clang-flags = $(gcc-flags) -Wno-c99-extensions ; local msvc-flags = /wd4494 ; project @@ -26,6 +26,7 @@ project gcc-4.4:-Wno-strict-aliasing gcc-4.4:-fno-deduce-init-list + clang-14:-Wunused-template gcc:on clang:on