Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
January 10, 2009 [Issue 2576] New: Assertion failure in mtype.c - forward reference of aliased-type string constant | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=2576 Summary: Assertion failure in mtype.c - forward reference of aliased-type string constant Product: D Version: 2.023 Platform: PC OS/Version: Windows Status: NEW Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: smjg@iname.com OtherBugsDependingO 340 nThis: alias char TCHAR; const TCHAR[] READDATAPORT = ISAENUM ~ "\\ReadDataPort\\0"; const TCHAR[] ISAENUM = "ISAPnP"; ---------- Assertion failure: 'tn->mod & MODinvariant || tn->mod & MODconst' on line 734 in file 'mtype.c' ---------- Declaring the first constant as const char[] instead makes no difference, but the problem disappears if: - the second constant is declared as const char[] - the order is swapped - both are in a single declaration -- |
May 19, 2009 [Issue 2576] ICE(mtype.c, MODconst) - forward reference of aliased-type string constant | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2576 --- Comment #1 from Don <clugdbug@yahoo.com.au> 2009-05-19 01:27:05 PDT --- This was failing for me in 2.029, but it works for me in 2.030. I think it may have been fixed in 2.030. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 27, 2009 [Issue 2576] ICE(mtype.c, MODconst) - forward reference of aliased-type string constant | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=2576 Stewart Gordon <smjg@iname.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- 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