On Tue, 4 Sep 2018 at 16:00, Neia Neutuladh via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > > On Tuesday, 4 September 2018 at 22:33:34 UTC, Manu wrote: > > Error: project\ecs\include\d2\bliz\ecs\component_access.d(7): > > Error: namespace `bliz.ecs.component_access.bliz` conflicts > > with import `bliz.ecs.component_access.bliz` at > > project\ecs\include\d2\bliz\ecs\component_access.d(3) > > The obvious workaround is to wrap the entire C++ library in one > file, right? Nothing could possibly be suboptimal about that. > Just shove four thousand class definitions in there, it'll be > fine.
Even that still wouldn't solve this problem where the root namespace can't be the same as the C++ namespace... which is the common-sense choice for the root namespace >_< I need to think up pointlessly different names for all the C++ package names to call the packages in D.