Thread overview
[Issue 16289] no extern(C++) mangling for size_t/unsigned long parameters
[Issue 16289] no extern(C++) mangling for unsigned long
Jul 18, 2016
Martin Nowak
Jul 18, 2016
Martin Nowak
Jul 18, 2016
Martin Nowak
Oct 26, 2017
Walter Bright
Nov 01, 2017
Walter Bright
Feb 21, 2020
Mathias LANG
July 18, 2016
https://issues.dlang.org/show_bug.cgi?id=16289

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Linux                       |All
           Severity|enhancement                 |normal

--
July 18, 2016
https://issues.dlang.org/show_bug.cgi?id=16289

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|no extern(C++) mangling for |no extern(C++) mangling for
                   |unsigned long               |size_t/unsigned long
                   |                            |parameters

--
July 18, 2016
https://issues.dlang.org/show_bug.cgi?id=16289

--- Comment #1 from Martin Nowak <code@dawg.eu> ---
It's possible to use cpp_ulong which get's the correct mangling, but it's
fairly unfriendly to use.
https://github.com/dlang/druntime/blob/fb0dafb741d33ae030c2e7a96bee2c61aa4d3cb4/src/core/stdc/config.d#L91

--
October 26, 2017
https://issues.dlang.org/show_bug.cgi?id=16289

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |C++, mangling
                 CC|                            |bugzilla@digitalmars.com

--
November 01, 2017
https://issues.dlang.org/show_bug.cgi?id=16289

--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> ---
Sometimes I just make the C++ function `extern "C"` and that works.

--
February 21, 2020
https://issues.dlang.org/show_bug.cgi?id=16289

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang@gmail.com
         Resolution|---                         |FIXED

--- Comment #3 from Mathias LANG <pro.mathias.lang@gmail.com> ---
This has been fixed: https://github.com/dlang/druntime/pull/2160#issuecomment-379976466

--