carlosgalvezp wrote: Please note: GCC is more strict; for std::memset, it requires the type to be trivial, not just trivially copyable:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107361 I haven't looked at the patch in detail but for consistency with GCC it should also support suppressing the warning by explictly casting the pointers to void* (maybe it's already in place). https://github.com/llvm/llvm-project/pull/111434 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits