2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-26 04:42:22 +00:00

Disable C6326: Potential comparison of a constant with another constant

This commit is contained in:
Matt Borland
2022-10-25 18:59:04 -07:00
committed by jzmaddock
parent 182742bfac
commit 62dfa025d7
2 changed files with 10 additions and 0 deletions

View File

@@ -36,6 +36,11 @@
#include <boost/math/tools/series.hpp>
#include <boost/math/tools/roots.hpp>
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable: 6326) // potential comparison of a constant with another constant
#endif
namespace boost{ namespace math{
namespace detail{
@@ -754,6 +759,10 @@ inline OutputIterator cyl_neumann_zero(T v,
} // namespace math
} // namespace boost
#ifdef _MSC_VER
# pragma warning(pop)
#endif
#endif // BOOST_MATH_BESSEL_HPP

View File

@@ -44,6 +44,7 @@
# pragma warning(disable: 4702) // unreachable code (return after domain_error throw).
# pragma warning(disable: 4127) // conditional expression is constant.
# pragma warning(disable: 4100) // unreferenced formal parameter.
# pragma warning(disable: 6326) // potential comparison of a constant with another constant
// Several variables made comments,
// but some difficulty as whether referenced on not may depend on macro values.
// So to be safe, 4100 warnings suppressed.