On 4/28/2014 12:45 AM, Temtaime wrote:
I think he meant next:A.d: void foo(); A.cpp: namespace A { void foo(); } And now we has: exnern(C++, A) void foo(); import A;
Error, A is defined twice.
Walter Bright via Digitalmars-d Mon, 28 Apr 2014 12:26:25 -0700
On 4/28/2014 12:45 AM, Temtaime wrote:
I think he meant next:A.d: void foo(); A.cpp: namespace A { void foo(); } And now we has: exnern(C++, A) void foo(); import A;
Error, A is defined twice.