In C++20 compound assignment to volatile (here LocalData[I]++) is
deprecated, so mutex_test.cpp fails to compile.
Simply changing it to LocalData[I] = LocalData[I] + 1 fixes it.
Differential D117359
[scudo] Make Scudo compile for C++20 cryptoad on Jan 14 2022, 1:52 PM. Authored by
Details In C++20 compound assignment to volatile (here LocalData[I]++) is Simply changing it to LocalData[I] = LocalData[I] + 1 fixes it.
Diff Detail
Event TimelineComment Actions @ayermolo I think your rule (https://reviews.llvm.org/H844#2954) marks you as a blocking reviewer on every patchset. |