diff --git a/Number_types/include/CGAL/test_FPU_rounding_mode_impl.h b/Number_types/include/CGAL/test_FPU_rounding_mode_impl.h index 0107cc32b1a..60efe1be2c6 100644 --- a/Number_types/include/CGAL/test_FPU_rounding_mode_impl.h +++ b/Number_types/include/CGAL/test_FPU_rounding_mode_impl.h @@ -51,11 +51,13 @@ get_static_check_fpu_rounding_mode_is_restored() return check_fpu_rounding_mode_is_restored; } +#ifndef CGAL_DISABLE_ROUNDING_MATH_CHECK namespace { CGAL_UNUSED const Check_FPU_rounding_mode_is_restored & check_fpu_rounding_mode_is_restored = get_static_check_fpu_rounding_mode_is_restored(); } +#endif #else diff --git a/Number_types/test/Number_types/Interval_nt_new.cpp b/Number_types/test/Number_types/Interval_nt_new.cpp index 0b4e7b06495..8bb553a4076 100644 --- a/Number_types/test/Number_types/Interval_nt_new.cpp +++ b/Number_types/test/Number_types/Interval_nt_new.cpp @@ -1,3 +1,4 @@ +#define CGAL_DISABLE_ROUNDING_MATH_CHECK 1 #include #include #include