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:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user