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.