[Issue 14596] Error: e2ir: cannot cast malloc(42u) of type void* to type char[]
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon May 18 05:46:59 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14596
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|diagnostic |ice
CC| |schveiguy at yahoo.com
--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Actually, its the presence of the e2ir filename which clues you in that it is
an ICE. I've advocated for this to generate an actual ICE assert (see
https://issues.dlang.org/show_bug.cgi?id=13810), but it seems this is not
something the devs wish to incorporate, or it's too difficult for the benefit.
Essentially, the error is happening in the wrong part of the compiler (if it's
supposed to be an error at all).
--
More information about the Digitalmars-d-bugs
mailing list