diff --git a/CMakeLists.txt b/CMakeLists.txt index 75ada748..06abdff3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,6 +34,7 @@ if (MSVC) /w34458 # Declaration of 'var' hides class member /w34459 # Declaration of 'var' hides global definition /w34946 # Reinterpret-cast between related types + /wd4592 # Symbol will be dynamically initialized (implementation limitation) /MP /Zi /Zo diff --git a/src/backend_x64/hostloc.h b/src/backend_x64/hostloc.h index d29c73a7..97e09f52 100644 --- a/src/backend_x64/hostloc.h +++ b/src/backend_x64/hostloc.h @@ -54,7 +54,6 @@ using HostLocList = std::initializer_list; // RSP is preserved for function calls // R15 contains the JitState pointer -#pragma warning (suppress : 4592) // Symbol will be dynamically initialized (implementation limitation) const HostLocList any_gpr = { HostLoc::RAX, HostLoc::RBX, @@ -72,7 +71,6 @@ const HostLocList any_gpr = { HostLoc::R14, }; -#pragma warning (suppress : 4592) // Symbol will be dynamically initialized (implementation limitation) const HostLocList any_xmm = { HostLoc::XMM0, HostLoc::XMM1,