diff --git a/include/nameof.hpp b/include/nameof.hpp index 9f21306..b7f4616 100644 --- a/include/nameof.hpp +++ b/include/nameof.hpp @@ -66,6 +66,8 @@ #elif defined(_MSC_VER) # pragma warning(push) # pragma warning(disable : 26495) // Variable 'cstring::chars_' is uninitialized. +# pragma warning(disable : 28020) // Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. +# pragma warning(disable : 26451) // The expression '0<=_Param_(1)&&_Param_(1)<=1-1' is not true at this call. #endif // Checks nameof_type compiler compatibility.