February 07, 2013 [Issue 9470] New: Missing symbols in object file if template instantiated inside `with` | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9470 Summary: Missing symbols in object file if template instantiated inside `with` Product: D Version: D2 Platform: All OS/Version: Windows Status: NEW Keywords: link-failure Severity: critical Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2013-02-07 23:15:22 MSK --- --- enum E { x } void g(T)() { } void main() { with(E) g!int(); } --- OPTLINK output: --- OPTLINK (R) for Win32 Release 8.00.12 ... Error 42: Symbol Undefined _D4main9__T1gTAiZ1gFNaNbNfAiZE4main1E --- The source of such link failures is not just unexpected and hard to reduce. Worst of all one will likely think this is one of "unfixable" OPTLINK buffer overflow bugs making D unusable on Windows (or is it a cross-platform issue?). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 07, 2013 [Issue 9470] Missing symbols in object file if template instantiated inside `with` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=9470 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-02-07 12:17:09 PST --- *** This issue has been marked as a duplicate of issue 8414 *** -- 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