CMakeLists: Globally disable MSVC warning C4592
C4592: Symbol will be dynamically initialized (implementation limitation)
This commit is contained in:
parent
91e851a991
commit
0e8b626d87
2 changed files with 1 additions and 2 deletions
|
@ -34,6 +34,7 @@ if (MSVC)
|
||||||
/w34458 # Declaration of 'var' hides class member
|
/w34458 # Declaration of 'var' hides class member
|
||||||
/w34459 # Declaration of 'var' hides global definition
|
/w34459 # Declaration of 'var' hides global definition
|
||||||
/w34946 # Reinterpret-cast between related types
|
/w34946 # Reinterpret-cast between related types
|
||||||
|
/wd4592 # Symbol will be dynamically initialized (implementation limitation)
|
||||||
/MP
|
/MP
|
||||||
/Zi
|
/Zi
|
||||||
/Zo
|
/Zo
|
||||||
|
|
|
@ -54,7 +54,6 @@ using HostLocList = std::initializer_list<HostLoc>;
|
||||||
|
|
||||||
// RSP is preserved for function calls
|
// RSP is preserved for function calls
|
||||||
// R15 contains the JitState pointer
|
// R15 contains the JitState pointer
|
||||||
#pragma warning (suppress : 4592) // Symbol will be dynamically initialized (implementation limitation)
|
|
||||||
const HostLocList any_gpr = {
|
const HostLocList any_gpr = {
|
||||||
HostLoc::RAX,
|
HostLoc::RAX,
|
||||||
HostLoc::RBX,
|
HostLoc::RBX,
|
||||||
|
@ -72,7 +71,6 @@ const HostLocList any_gpr = {
|
||||||
HostLoc::R14,
|
HostLoc::R14,
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma warning (suppress : 4592) // Symbol will be dynamically initialized (implementation limitation)
|
|
||||||
const HostLocList any_xmm = {
|
const HostLocList any_xmm = {
|
||||||
HostLoc::XMM0,
|
HostLoc::XMM0,
|
||||||
HostLoc::XMM1,
|
HostLoc::XMM1,
|
||||||
|
|
Loading…
Reference in a new issue