[Issue 19395] extern(C++) mangling: posix mangling does not support `S_` token

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 14 01:50:32 UTC 2019


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

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

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

--- Comment #1 from Mathias LANG <pro.mathias.lang at gmail.com> ---
DMD does substitution. However substitution is not done on basic types.

The following C++ code:
void fun(wchar_t x, wchar_t y, bool b) {}
Mangles to:
__Z3funwwb

On my machine (OSX, so Clang).

Hit me up on Slack if there's some POSIX mangling issue you need to
troubleshoot.

--


More information about the Digitalmars-d-bugs mailing list