digitalmars.D.bugs - [Issue 13183] New: C++ namespace should not conflict with import
- via Digitalmars-d-bugs (25/25) Jul 22 2014 https://issues.dlang.org/show_bug.cgi?id=13183
https://issues.dlang.org/show_bug.cgi?id=13183 Issue ID: 13183 Summary: C++ namespace should not conflict with import root package Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: verylonglogin.reg gmail.com The fact C++ root namespace conflicts with import root package makes it hard to have same root namespace in C++ codebase. This code should compile: --- import abba.m; extern(C++, abba) { } --- main.d(2): Error: namespace main.abba conflicts with import main.abba at main.d(1) --- --
Jul 22 2014