Jump to page: 1 2
Thread overview
[Issue 23583] ImportC: undefined identifier `__builtin___memmove_chk`
[Issue 23583] undefined identifier `__builtin___memmove_chk`
Dec 27, 2022
Jacob Carlborg
Dec 27, 2022
Jacob Carlborg
Dec 27, 2022
Jacob Carlborg
Dec 27, 2022
Iain Buclaw
Jan 10, 2023
Walter Bright
Jan 10, 2023
Walter Bright
[Issue 23583] ImportC: undefined identifier __builtin___memmove_chk
Jan 11, 2023
Walter Bright
Jan 11, 2023
Dlang Bot
Jan 12, 2023
Walter Bright
Jan 12, 2023
Walter Bright
Jan 12, 2023
Walter Bright
Jan 14, 2023
Dlang Bot
December 27, 2022
https://issues.dlang.org/show_bug.cgi?id=23583

Jacob Carlborg <doob@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal

--
December 27, 2022
https://issues.dlang.org/show_bug.cgi?id=23583

Jacob Carlborg <doob@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|undefined identifier        |ImportC: undefined
                   |`__builtin___memmove_chk`   |identifier
                   |                            |`__builtin___memmove_chk`

--
December 27, 2022
https://issues.dlang.org/show_bug.cgi?id=23583

Jacob Carlborg <doob@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ImportC

--
December 27, 2022
https://issues.dlang.org/show_bug.cgi?id=23583

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
January 10, 2023
https://issues.dlang.org/show_bug.cgi?id=23583

Walter Bright <bugzilla@digitalmars.com> changed:

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

--- Comment #1 from Walter Bright <bugzilla@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.

--
January 10, 2023
https://issues.dlang.org/show_bug.cgi?id=23583

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
Looks like __GNUC__ will have to be #undef'd, too, at least for OSX.

--
January 11, 2023
https://issues.dlang.org/show_bug.cgi?id=23583

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ImportC: undefined          |ImportC: undefined
                   |identifier                  |identifier
                   |`__builtin___memmove_chk`   |__builtin___memmove_chk

--
January 11, 2023
https://issues.dlang.org/show_bug.cgi?id=23583

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
@WalterBright created dlang/dmd pull request #14801 "fix Issue 23583 - ImportC: undefined identifier __builtin___memmove_chk" fixing this issue:

- fix Issue 23583 - ImportC: undefined identifier __builtin___memmove_chk

https://github.com/dlang/dmd/pull/14801

--
January 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23583

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23580

--
January 12, 2023
https://issues.dlang.org/show_bug.cgi?id=23583

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=23581

--
« First   ‹ Prev
1 2