[Issue 5168] String enums don't work with -g compiler switch
http://d.puremagic.com/issues/show_bug.cgi?id=5168 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED CC||andrej.mitrov...@gmail.com Resolution||FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5168] String enums don't work with -g compiler switch
http://d.puremagic.com/issues/show_bug.cgi?id=5168 --- Comment #8 from github-bugzi...@puremagic.com 2012-11-29 04:20:26 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/9f068b1b07aa9b2b3da7260ff1f5ed2615c1ae89 Merge pull request #1331 from rainers/issue_5168 fix issue 5168: do not try to generate codeview debug info for non-integer enum -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5168] String enums don't work with -g compiler switch
http://d.puremagic.com/issues/show_bug.cgi?id=5168 Rainer Schuetze changed: What|Removed |Added Keywords||patch CC||r.sagita...@gmx.de --- Comment #7 from Rainer Schuetze 2012-11-27 22:31:46 PST --- https://github.com/D-Programming-Language/dmd/pull/1331 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5168] String enums don't work with -g compiler switch
http://d.puremagic.com/issues/show_bug.cgi?id=5168 Simen Kjaeraas changed: What|Removed |Added CC||simen.kja...@gmail.com --- Comment #6 from Simen Kjaeraas 2012-07-26 14:16:09 PDT --- *** Issue 8445 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5168] String enums don't work with -g compiler switch
http://d.puremagic.com/issues/show_bug.cgi?id=5168 --- Comment #5 from SomeDude 2012-04-23 08:55:58 PDT --- Indeed. I overlooked the -g option. Sorry for that. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5168] String enums don't work with -g compiler switch
http://d.puremagic.com/issues/show_bug.cgi?id=5168 --- Comment #4 from Jesse Phillips 2012-04-23 08:29:36 PDT --- (In reply to comment #3) > Compiles and runs fine on 2.059 Win32. I'm still getting these errors test.d(4): Error: Integer constant expression expected instead of "a" when compiling the named enum version with -g option. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5168] String enums don't work with -g compiler switch
http://d.puremagic.com/issues/show_bug.cgi?id=5168 SomeDude changed: What|Removed |Added CC||lovelyd...@mailmetrash.com --- Comment #3 from SomeDude 2012-04-22 02:16:52 PDT --- Compiles and runs fine on 2.059 Win32. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5168] String enums don't work with -g compiler switch
http://d.puremagic.com/issues/show_bug.cgi?id=5168 Jesse Phillips changed: What|Removed |Added CC||jesse.k.phillip...@gmail.co ||m --- Comment #2 from Jesse Phillips 2011-11-16 09:04:05 PST --- *** Issue 5985 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 5168] String enums don't work with -g compiler switch
http://d.puremagic.com/issues/show_bug.cgi?id=5168 johan...@jo-t.de changed: What|Removed |Added CC||johan...@jo-t.de --- Comment #1 from johan...@jo-t.de 2011-11-15 13:27:39 PST --- still present on 2.056 (running on Win7 x64). however, problem happens only when enum is named. for example, the following compiles fine: enum : string { a = "a", b = "b" } int main(string[] argv) { writeln(a); return 0; } whereas the following fails: enum X : string { a = "a", // Error: Integer constant expression expected // instead of "a" b = "b" // Error: Integer constant expression expected // instead of "b" } int main(string[] argv) { writeln(X.a); return 0; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---