diff --git a/upstream_utils/eigen_patches/0003-Suppress-C-23-deprecation-warnings-for-std-has_denor.patch b/upstream_utils/eigen_patches/0003-Suppress-C-23-deprecation-warnings-for-std-has_denor.patch index a7d0cf59e6..9a80736c2e 100644 --- a/upstream_utils/eigen_patches/0003-Suppress-C-23-deprecation-warnings-for-std-has_denor.patch +++ b/upstream_utils/eigen_patches/0003-Suppress-C-23-deprecation-warnings-for-std-has_denor.patch @@ -19,7 +19,7 @@ index f31c6cee6e97e8f1ad6fa4341fec2c1e65dec705..c6fa034b04896e7666e8de53e0e011f9 static EIGEN_CONSTEXPR const bool has_signaling_NaN = true; +#if __cplusplus >= 202302L + EIGEN_DIAGNOSTICS(push) -+ EIGEN_DISABLE_DEPRECATION_WARNING ++ EIGEN_DISABLE_DEPRECATED_WARNING +#endif static EIGEN_CONSTEXPR const std::float_denorm_style has_denorm = std::denorm_present; static EIGEN_CONSTEXPR const bool has_denorm_loss = false; @@ -35,7 +35,7 @@ index f31c6cee6e97e8f1ad6fa4341fec2c1e65dec705..c6fa034b04896e7666e8de53e0e011f9 EIGEN_CONSTEXPR const bool numeric_limits_bfloat16_impl::has_signaling_NaN; +#if __cplusplus >= 202302L +EIGEN_DIAGNOSTICS(push) -+EIGEN_DISABLE_DEPRECATION_WARNING ++EIGEN_DISABLE_DEPRECATED_WARNING +#endif template EIGEN_CONSTEXPR const std::float_denorm_style numeric_limits_bfloat16_impl::has_denorm; @@ -57,7 +57,7 @@ index 9c195c12a17fcb791c96a0ce6cf873f455c4f8be..506feca058bb7940663d9cda8b2fe902 static EIGEN_CONSTEXPR const bool has_signaling_NaN = true; +#if __cplusplus >= 202302L + EIGEN_DIAGNOSTICS(push) -+ EIGEN_DISABLE_DEPRECATION_WARNING ++ EIGEN_DISABLE_DEPRECATED_WARNING +#endif static EIGEN_CONSTEXPR const std::float_denorm_style has_denorm = std::denorm_present; static EIGEN_CONSTEXPR const bool has_denorm_loss = false; @@ -73,7 +73,7 @@ index 9c195c12a17fcb791c96a0ce6cf873f455c4f8be..506feca058bb7940663d9cda8b2fe902 EIGEN_CONSTEXPR const bool numeric_limits_half_impl::has_signaling_NaN; +#if __cplusplus >= 202302L +EIGEN_DIAGNOSTICS(push) -+EIGEN_DISABLE_DEPRECATION_WARNING ++EIGEN_DISABLE_DEPRECATED_WARNING +#endif template EIGEN_CONSTEXPR const std::float_denorm_style numeric_limits_half_impl::has_denorm; diff --git a/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/arch/Default/BFloat16.h b/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/arch/Default/BFloat16.h index c6fa034b04..9e79a39a4c 100644 --- a/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/arch/Default/BFloat16.h +++ b/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/arch/Default/BFloat16.h @@ -141,7 +141,7 @@ struct numeric_limits_bfloat16_impl { static EIGEN_CONSTEXPR const bool has_signaling_NaN = true; #if __cplusplus >= 202302L EIGEN_DIAGNOSTICS(push) - EIGEN_DISABLE_DEPRECATION_WARNING + EIGEN_DISABLE_DEPRECATED_WARNING #endif static EIGEN_CONSTEXPR const std::float_denorm_style has_denorm = std::denorm_present; static EIGEN_CONSTEXPR const bool has_denorm_loss = false; @@ -196,7 +196,7 @@ template EIGEN_CONSTEXPR const bool numeric_limits_bfloat16_impl::has_signaling_NaN; #if __cplusplus >= 202302L EIGEN_DIAGNOSTICS(push) -EIGEN_DISABLE_DEPRECATION_WARNING +EIGEN_DISABLE_DEPRECATED_WARNING #endif template EIGEN_CONSTEXPR const std::float_denorm_style numeric_limits_bfloat16_impl::has_denorm; diff --git a/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/arch/Default/Half.h b/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/arch/Default/Half.h index 506feca058..7754e8f272 100644 --- a/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/arch/Default/Half.h +++ b/wpimath/src/main/native/thirdparty/eigen/include/Eigen/src/Core/arch/Default/Half.h @@ -210,7 +210,7 @@ struct numeric_limits_half_impl { static EIGEN_CONSTEXPR const bool has_signaling_NaN = true; #if __cplusplus >= 202302L EIGEN_DIAGNOSTICS(push) - EIGEN_DISABLE_DEPRECATION_WARNING + EIGEN_DISABLE_DEPRECATED_WARNING #endif static EIGEN_CONSTEXPR const std::float_denorm_style has_denorm = std::denorm_present; static EIGEN_CONSTEXPR const bool has_denorm_loss = false; @@ -265,7 +265,7 @@ template EIGEN_CONSTEXPR const bool numeric_limits_half_impl::has_signaling_NaN; #if __cplusplus >= 202302L EIGEN_DIAGNOSTICS(push) -EIGEN_DISABLE_DEPRECATION_WARNING +EIGEN_DISABLE_DEPRECATED_WARNING #endif template EIGEN_CONSTEXPR const std::float_denorm_style numeric_limits_half_impl::has_denorm;