extern(C++, ns) is wrong

Neia Neutuladh neia at ikeran.org
Tue Sep 4 22:57:12 UTC 2018


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.


More information about the Digitalmars-d mailing list