[Issue 23583] ImportC: undefined identifier `__builtin___memmove_chk`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 10 05:36:45 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23583

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
The Mac headers have this:

#if __has_builtin(__builtin___memmove_chk) || defined(__GNUC__)
#undef memmove
#define memmove(dest, src, len)                                 \
  __builtin___memmove_chk (dest, src, len, __darwin_obsz0 (dest))
#endif

meaning https://github.com/dlang/dmd/pull/14799 ought to fix it.

--


More information about the Digitalmars-d-bugs mailing list