MSBuild: Silence MSVC warning C4324

This commit is contained in:
Stenzek
2024-07-06 19:45:08 +10:00
parent eba0794b4f
commit 9a70003b70
4 changed files with 1 additions and 18 deletions

View File

@ -112,11 +112,6 @@ struct BlockMetadata
BlockFlags flags;
};
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4324) // C4324: 'CPU::CodeCache::Block': structure was padded due to alignment specifier)
#endif
struct alignas(16) Block
{
u32 pc;
@ -167,10 +162,6 @@ struct alignas(16) Block
ALWAYS_INLINE bool SpansPages() const { return StartPageIndex() != EndPageIndex(); }
};
#ifdef _MSC_VER
#pragma warning(pop)
#endif
using BlockLUTArray = std::array<Block**, LUT_TABLE_COUNT>;
struct LoadstoreBackpatchInfo