DIP61: redone to do extern(C++,N) syntax

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 27 16:24:12 PDT 2014


On 4/27/2014 3:07 PM, Caligo via Digitalmars-d wrote:
> On Sun, Apr 27, 2014 at 2:54 PM, Walter Bright via Digitalmars-d
> <digitalmars-d at puremagic.com <mailto:digitalmars-d at puremagic.com>> wrote:
>
>     http://wiki.dlang.org/DIP61
>
>
> What happens if you try to interface with two different C++ libraries that use
> the same exact namespaces?

If any of the names mangle to the same string, you'll get errors from the 
linker, just as you would if referencing those libraries from C++.


More information about the Digitalmars-d mailing list