https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122197

--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Barnabás Pőcze from comment #16)
> error: array subscript 'std::mutex[0]' is partly outside array bounds of
> 'unsigned char [24]' [-Werror=array-bounds=]

This is utter nonsense, there is no std::mutex used in this code whatsoever.
This seems to be a different false positive, and I don't see how we can add a
kluge to the libstdc++ headers to stop GCC being confused about this.

Reply via email to