On Tue, 4 Sep 2018 at 22:05, Joakim via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > > 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@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@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.
Workaround: "Naming the binding the same name as the library is incompatible with binding to a library. You need to rename your binding to something other than the name of the library; perhaps you should append 'D', that sounds really pro." That's just not acceptable.