From b38c148969a00924406d2fbe8a66dd60f69b6c86 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 8 Feb 2022 21:37:34 +0200 Subject: [PATCH] Enable -pedantic for the cmath.hpp and bit.hpp tests --- test/Jamfile.v2 | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 567fd37..1e808ab 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -264,19 +264,30 @@ run uncaught_exceptions_np.cpp run no_exceptions_support_test.cpp : ; run no_exceptions_support_test.cpp : : : off : no_exceptions_support_test_nx ; -run cmath_test.cpp ; +run cmath_test.cpp + : : : $(pedantic-errors) ; run cmath_test.cpp : : : BOOST_CORE_USE_GENERIC_CMATH msvc-8.0:no : cmath_test_generic ; -run bit_cast_test.cpp ; -run bit_rotate_test.cpp ; -run bit_countr_test.cpp ; -run bit_countl_test.cpp ; -run bit_width_test.cpp ; -run has_single_bit_test.cpp ; -run bit_floor_test.cpp ; -run bit_ceil_test.cpp ; -run bit_popcount_test.cpp ; -run bit_endian_test.cpp ; +run bit_cast_test.cpp + : : : $(pedantic-errors) ; +run bit_rotate_test.cpp + : : : $(pedantic-errors) ; +run bit_countr_test.cpp + : : : $(pedantic-errors) ; +run bit_countl_test.cpp + : : : $(pedantic-errors) ; +run bit_width_test.cpp + : : : $(pedantic-errors) ; +run has_single_bit_test.cpp + : : : $(pedantic-errors) ; +run bit_floor_test.cpp + : : : $(pedantic-errors) ; +run bit_ceil_test.cpp + : : : $(pedantic-errors) ; +run bit_popcount_test.cpp + : : : $(pedantic-errors) ; +run bit_endian_test.cpp + : : : $(pedantic-errors) ; run type_name_test.cpp ;