interfacing Cpp - GCC Dual ABI abi_tag in name mangling
via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Apr 30 10:53:39 PDT 2017
On Sunday, 30 April 2017 at 11:35:54 UTC, Jacob Carlborg wrote:
> You can use pragma(mangle, "some mangling"); to set the mangled
> name of a symbol.
that's a quick hack, but sooner or later dmd needs to add some
rules for this in the internal cpp mangler, since gcc is the main
compiler in gnu/linux. at least provide an @abi_tag attribute or
something the user can put inside a version condition.
More information about the Digitalmars-d-learn
mailing list