digitalmars.D.bugs - [Issue 8445] New: non-int enum values cause error when compiled with -g
- d-bugmail puremagic.com (21/21) Jul 26 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8445
- d-bugmail puremagic.com (10/10) Jul 26 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8445
- d-bugmail puremagic.com (13/14) Jul 26 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8445
http://d.puremagic.com/issues/show_bug.cgi?id=8445 Summary: non-int enum values cause error when compiled with -g Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: simen.kjaras gmail.com --- Comment #0 from Simen Kjaeraas <simen.kjaras gmail.com> 2012-07-26 10:46:52 PDT --- This code: enum a : string{a = ""} Leads to this error when compiled with dmd -g foo: foo.d(1): Error: Integer constant expression expected instead of "" foo.d(1): Error: Integer constant expression expected instead of "" -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 26 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8445 bearophile_hugs eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bearophile_hugs eml.cc --- Comment #1 from bearophile_hugs eml.cc 2012-07-26 13:31:15 PDT --- Dupe of Issue 5168 ? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 26 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8445 Simen Kjaeraas <simen.kjaras gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #2 from Simen Kjaeraas <simen.kjaras gmail.com> 2012-07-26 14:16:09 PDT --- (In reply to comment #1)Dupe of Issue 5168 ?Absolutely. *** This issue has been marked as a duplicate of issue 5168 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 26 2012