extern(C++, ns) is wrong

Joakim dlang at joakim.fea.st
Wed Sep 5 05:01:10 UTC 2018


On Wednesday, 5 September 2018 at 01:20:26 UTC, Manu wrote:
> On Tue, 4 Sep 2018 at 17:50, tide via Digitalmars-d 
> <digitalmars-d at puremagic.com> wrote:
>>
>> On Wednesday, 5 September 2018 at 00:35:50 UTC, Manu wrote:
>> > On Tue, 4 Sep 2018 at 17:30, tide via Digitalmars-d 
>> > <digitalmars-d at puremagic.com> wrote:
>> >> [...]
>> >
>> > And yes, the example is actually complete. Again, but I'll 
>> > simplify the filenames:
>> >
>> > ns/bar.d
>> > -------------
>> > module ns.bar;
>> > import ns.baz;
>> > extern(C++, ns):
>> >
>> > ns/baz.d
>> > -------------
>> > module ns.baz;
>> > import ns.bar;
>> > extern(C++, ns):
>> >
>> >
>> >> [...]
>>
>> Judging by the name of the modules are you working on an 
>> Entity Component System for D :o ?
>
> Well, I'm clearly trying to call C++ code >_<

I suggest you privately email Walter the exact code files you're 
writing, with the exact reasons you think his workarounds are too 
onerous. These piecemeal forum posts are going nowhere.


More information about the Digitalmars-d mailing list