June 20, 2013 [Issue 10422] New: Unable to implement a NVI interface | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10422 Summary: Unable to implement a NVI interface Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: sergei.nosov@gmail.com --- Comment #0 from Sergei <sergei.nosov@gmail.com> 2013-06-20 05:48:58 PDT --- I'm trying to compile a very simple interface interface Interface { public final int f() {return do_f();} private int do_f(); } and get a rdmd extest.d /tmp/.rdmd-1000/rdmd-extest.d-2D0F68D708BAD881E0A2B251239A887D/objs/extest.o: In function `_D6extest9Interface1fMFZi': extest.d:(.text._D6extest9Interface1fMFZi+0x4d): undefined reference to `_D6extest9Interface4do_fMFZi' collect2: ld returned 1 exit status --- errorlevel 1 According to TDPL (and, well, common sense) this should work, but doesn't (dmd v2.063.2). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 20, 2013 [Issue 10422] Unable to implement a NVI interface | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sergei | http://d.puremagic.com/issues/show_bug.cgi?id=10422 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich@gmail.com Resolution| |DUPLICATE --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-06-20 06:30:49 PDT --- *** This issue has been marked as a duplicate of issue 4542 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation