зеркало из https://github.com/mozilla/gecko-dev.git
f4ef8ec8c7
C++20 deprecated decrement/increment of object of volatile-qualified types, e.g. v++. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1152r3.html `warning: gfx/vr/VRShMem.cpp:420:21: '++' expression of 'volatile'-qualified type is deprecated [-Wvolatile]` C++20 is warning that incrementing the volatile int64_t variables `mExternalShmem->geckoGenerationA` and `geckoGenerationB` is not an atomic operation. Replacing the postfix increment with explicit addition makes the warnings go away without changing the semantics of this code. Differential Revision: https://phabricator.services.mozilla.com/D163558 |
||
---|---|---|
.. | ||
external_api | ||
ipc | ||
service | ||
FxROutputHandler.cpp | ||
FxROutputHandler.h | ||
FxRWindowManager.cpp | ||
FxRWindowManager.h | ||
VRDisplayClient.cpp | ||
VRDisplayClient.h | ||
VRDisplayPresentation.cpp | ||
VRDisplayPresentation.h | ||
VRManager.cpp | ||
VRManager.h | ||
VRPuppetCommandBuffer.cpp | ||
VRPuppetCommandBuffer.h | ||
VRServiceHost.cpp | ||
VRServiceHost.h | ||
VRShMem.cpp | ||
VRShMem.h | ||
VRThread.cpp | ||
VRThread.h | ||
components.conf | ||
gfxVR.cpp | ||
gfxVR.h | ||
gfxVRMutex.h | ||
moz.build | ||
nsFxrCommandLineHandler.cpp | ||
nsFxrCommandLineHandler.h |