From 81e3072d040e1fa21a7dddd9daf48bae017d3224 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 8 Dec 2019 20:55:42 +0200 Subject: [PATCH] Restrict warning-as-errors=on to msvc/gcc/clang; add -Wshadow on gcc --- test/Jamfile.v2 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index ba73852..0442ce1 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -8,14 +8,19 @@ import testing ; -project : requirements extra on ; +project : requirements + extra + msvc:on + clang:on + gcc:on + gcc:-Wshadow ; run throw_exception_test.cpp ; run throw_exception_no_exceptions_test.cpp ; run throw_exception_no_integration_test.cpp ; run throw_exception_no_both_test.cpp ; -compile-fail throw_exception_fail.cpp : -on ; +compile-fail throw_exception_fail.cpp : off ; run throw_exception_test2.cpp ; run throw_exception_test3.cpp ;