Thread overview
Surprising ICE
Dec 12, 2018
Manu
Dec 13, 2018
Nicholas Wilson
Dec 13, 2018
Manu
December 12, 2018
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.
December 13, 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.
December 12, 2018
On Wed, Dec 12, 2018 at 4:05 PM Nicholas Wilson via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
>
> 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.

Good idea! :)