digitalmars.D.bugs - [Issue 9341] New: Linker error with array literal populated by compile-time tuple
- d-bugmail puremagic.com (30/30) Jan 17 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9341
- d-bugmail puremagic.com (12/12) Jan 17 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9341
http://d.puremagic.com/issues/show_bug.cgi?id=9341 Summary: Linker error with array literal populated by compile-time tuple Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: hsteoh quickfur.ath.cx Code: import std.traits; void main() { enum E { First = 1, Second = 2, Third = 3 }; auto members = [ EnumMembers!E ]; } Compiler output: test.o:(.data._D16TypeInfo_Emain1E6__initZ+0x30): undefined reference to `_Dmain1E6__initZ' collect2: error: ld returned 1 exit status --- errorlevel 1 Changing 'auto' to 'static' makes the linker error go away, for some odd reason. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 17 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9341 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |DUPLICATE 16:18:07 PST --- *** This issue has been marked as a duplicate of issue 6057 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 17 2013