25 Apr
2025
25 Apr
'25
2:11 p.m.
Although _ReadWriteBarrier() is "marked deprecated," it is in fact used by Microsoft's own STL library (with explicit suppression of warning) to implement a compiler-only memory barrier 1. The deprecation notice suggests C++11 atomics as the (only?) alternative.
It breaks the build in MSVC mode on ARM, so that would need to be fixed some other way. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7895#note_101866