Skip to content

Commit

Permalink
Merged revision(s) 19923 from trunk/OpenMPT:
Browse files Browse the repository at this point in the history
[Ref] mpt/base/detect_quirks.hpp: Re-enable bit_cast on VS2022 17.8 ARM64. See <https://developercommunity.visualstudio.com/t/ICE-when-compiling-for-ARM64-due-to-alig/10367205>.
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@19924 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
manxorist committed Nov 15, 2023
1 parent 4907f82 commit 1177834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpt/base/detect_quirks.hpp
Expand Up @@ -37,7 +37,7 @@



#if MPT_COMPILER_MSVC && MPT_MSVC_AT_LEAST(2022, 6) && MPT_ARCH_AARCH64
#if MPT_COMPILER_MSVC && MPT_MSVC_AT_LEAST(2022, 6) && MPT_MSVC_BEFORE(2022, 8) && MPT_ARCH_AARCH64
// VS2022 17.6.0 ARM64 gets confused about alignment in std::bit_cast (or equivalent code),
// causing an ICE.
// See <https://developercommunity.visualstudio.com/t/ICE-when-compiling-for-ARM64-due-to-alig/10367205>.
Expand Down

0 comments on commit 1177834

Please sign in to comment.