mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
Under the MSVC ABI, enums without a fixed underlying type keep int for MSVC compatibility, so vixl's >=0x80000000 instruction-encoding enumerators wrap negative and their use as case labels against the unsigned Instr type is a narrowing error clang-cl enforces (two TUs: cpu-features-auditor, disasm). MSVC itself compiles the identical semantics silently -- upstream PCSX2 ships vixl on Windows arm64 MSVC -- and the 32-bit patterns are unchanged, so downgrading the diagnostic is behavior-correct. PUBLIC like the existing deprecated-enum-enum-conversion suppression, since the same enum-vs-Instr switches appear in TUs including vixl headers.