atomic_load's allows it's first argument to be a pointer to a const type. However the second argument is an output parameter and must be a pointer to non-const.
This patch fixes the signature of atomic_load generated by clang so that it respects the above requirements.
Details
Details
Diff Detail
Diff Detail