http://d.puremagic.com/issues/show_bug.cgi?id=5113
Summary: stray e2ir: in casting error message Product: D Version: D1 Platform: Other OS/Version: Linux Status: NEW Severity: trivial Priority: P4 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: baseball....@gmail.com --- Comment #0 from Michael Parrott <baseball....@gmail.com> 2010-10-24 15:19:54 PDT --- void main() { char c = cast(int)" "; } gives: stringtocharcast.d(3): Error: e2ir: cannot cast " " of type char[1u] to type int Since that is the only error message I could find with e2ir: in front of it, I'll assume it's unintentional. The error message occurs on line 3901 of e2ir.c in the dmd 1.064 source. default: if (fty == tty) goto Lpaint; //dump(0); //printf("fty = %d, tty = %d\n", fty, tty); error("e2ir: cannot cast %s of type %s to type %s", e1->toChars(), e1->type->toChars(), t->toChars()); goto Lzero; Not sure if this is in D2 as well. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------