[Issue 15587] Enable use of D keywords as identifiers when interfacing to C/C++

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 19 05:26:08 UTC 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pro.mathias.lang at gmail.com

--- Comment #3 from Mathias LANG <pro.mathias.lang at gmail.com> ---
For C `pragma(mangle)` is an easy workaround, however for `extern(C++)`, not
only is the mangling non-trivial, but it's currently impossible to do for
anything templated, since the mangling depend on template parameters which are
not available to `pragma(mangle)`.

--


More information about the Digitalmars-d-bugs mailing list