Surprising ICE

Nicholas Wilson iamthewilsonator at hotmail.com
Thu Dec 13 00:02:41 UTC 2018


On Wednesday, 12 December 2018 at 23:12:20 UTC, Manu wrote:
> Can I please bring attention to this issue: 
> https://issues.dlang.org/show_bug.cgi?id=19482
>
> I'm doing a hack-athon in the office, and some colleagues are 
> taking D
> for a spin.
> They have encountered this issue on multiple counts.
>
> It would be really great to have a fix in a hurry, then I can 
> do a local DMD build and we can move on without workarounds.

If you like dancing on glass the quickest, dirtiest fix is to 
comment out
https://github.com/dlang/dmd/blob/dff0138467ec451ac64e1dac392a1a9648ee2523/src/dmd/cppmanglewin.d#L132-L133 since a static foreach iterable won't be subject to the linker.


More information about the Digitalmars-d mailing list