From 07a3cba4a20bb1e3adcc05c60eb1c6676f423b3d Mon Sep 17 00:00:00 2001 From: Steven Whitman Date: Mon, 7 Jun 2021 18:49:56 -0400 Subject: [PATCH] Remove unbalanced #pragma warning(push) When this #pragma is present, if you use /external:W0 for your project then all your internal headers are also set to /W0 for warning level. --- src/rttr/detail/base/core_prerequisites.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/rttr/detail/base/core_prerequisites.h b/src/rttr/detail/base/core_prerequisites.h index 601ddeb9..79a94274 100644 --- a/src/rttr/detail/base/core_prerequisites.h +++ b/src/rttr/detail/base/core_prerequisites.h @@ -219,8 +219,6 @@ namespace rttr // Disable some MSVC compile warnings ///////////////////////////////////////////////////////////////////////////////////////// #if RTTR_COMPILER == RTTR_COMPILER_MSVC -// Save warnings state -# pragma warning (push) // Turn off warnings generated by long std templates // This warns about truncation to 255 characters in debug/browse info # pragma warning (disable : 4786)