|
@@ -163,6 +163,7 @@
|
|
|
JPH_GCC_SUPPRESS_WARNING("-Winvalid-offsetof") \
|
|
|
JPH_GCC_SUPPRESS_WARNING("-Wclass-memaccess") \
|
|
|
\
|
|
|
+ JPH_MSVC_SUPPRESS_WARNING(4619) /* #pragma warning: there is no warning number 'XXXX' */ \
|
|
|
JPH_MSVC_SUPPRESS_WARNING(4514) /* 'X' : unreferenced inline function has been removed */ \
|
|
|
JPH_MSVC_SUPPRESS_WARNING(4710) /* 'X' : function not inlined */ \
|
|
|
JPH_MSVC_SUPPRESS_WARNING(4711) /* function 'X' selected for automatic inline expansion */ \
|
|
@@ -181,7 +182,8 @@
|
|
|
JPH_MSVC_SUPPRESS_WARNING(4583) /* 'X': destructor is not implicitly called */ \
|
|
|
JPH_MSVC_SUPPRESS_WARNING(4582) /* 'X': constructor is not implicitly called */ \
|
|
|
JPH_MSVC_SUPPRESS_WARNING(5219) /* implicit conversion from 'X' to 'Y', possible loss of data */ \
|
|
|
- JPH_MSVC_SUPPRESS_WARNING(4826) /* Conversion from 'X *' to 'JPH::uint64' is sign-extended. This may cause unexpected runtime behavior. (32-bit) */
|
|
|
+ JPH_MSVC_SUPPRESS_WARNING(4826) /* Conversion from 'X *' to 'JPH::uint64' is sign-extended. This may cause unexpected runtime behavior. (32-bit) */ \
|
|
|
+ JPH_MSVC_SUPPRESS_WARNING(5264) /* 'X': 'const' variable is not used */
|
|
|
|
|
|
// OS-specific includes
|
|
|
#if defined(JPH_PLATFORM_WINDOWS)
|
|
@@ -221,10 +223,13 @@
|
|
|
// Suppress warnings generated by the standard template library
|
|
|
#define JPH_SUPPRESS_WARNINGS_STD_BEGIN \
|
|
|
JPH_SUPPRESS_WARNING_PUSH \
|
|
|
+ JPH_MSVC_SUPPRESS_WARNING(4619) \
|
|
|
JPH_MSVC_SUPPRESS_WARNING(4710) \
|
|
|
JPH_MSVC_SUPPRESS_WARNING(4711) \
|
|
|
JPH_MSVC_SUPPRESS_WARNING(4820) \
|
|
|
JPH_MSVC_SUPPRESS_WARNING(4514) \
|
|
|
+ JPH_MSVC_SUPPRESS_WARNING(5262) \
|
|
|
+ JPH_MSVC_SUPPRESS_WARNING(5264) \
|
|
|
\
|
|
|
JPH_GCC_SUPPRESS_WARNING("-Wstringop-overflow=")
|
|
|
|