https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87760
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Target| |arm --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I can only guess that somehow std::size_t is int?! Can you reproduce it with a simple void foo (int, std::size_t); void foo (std::size_t, int) = delete; that is, avoiding 'memset' and/or the std namespace? Eventually namespace bar { using ::foo; } to mimic what cstring does for memset?