extern(C++, ns)

Meta via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 13 17:52:24 PST 2016


On Thursday, 14 January 2016 at 01:33:01 UTC, Manu wrote:
> I managed to quickly reduce to this point again:
>
> module m.x;
> alias X2 = X;
> extern (C++, ns) struct X {}
>
> Error: undefined identifier 'X'
>
> I was using the nightly from the other night that I used to 
> test the
> alias fix, but it seems to be the same thing.
> I figured I must be using the wrong toolchain somehow, purged 
> DMD from
> my machine, confirmed the compiler was gone from path, got the 
> nightly
> from last night: (https://builds.dawg.eu/dmd-2016-01-13/), 
> tried it
> again, same error.
> Not sure... I tested this fix the other day, but now I'm seeing 
> it
> again. That patch was merged right? Should be present in the 
> nightly?

Shouldn't that be `alias X2 = ns.X`?


More information about the Digitalmars-d mailing list