On Wednesday, 16 December 2015 at 10:15:49 UTC, Saurabh Das wrote:
On Wednesday, 16 December 2015 at 10:07:38 UTC, Saurabh Das wrote:
On Wednesday, 16 December 2015 at 09:38:24 UTC, Ali Çehreli wrote:
On 12/16/2015 01:26 AM, Saurabh Das wrote:
struct xlref
{
     ushort rwFirst;
     ushort rwLast;
     ubyte colFirst;
     ubyte colLast;
}

struct xlmref
{
     ushort count;
     xlref reflist;
}

Mac OS X (dmd 2.069.0)
===================
dmd  dprob.d
Segmentation fault: 11

Compiler bug. Please report at

  https://issues.dlang.org/

Changing the order of the members of xlmref seems to be a workaround:

struct xlmref
{
    xlref reflist;
    ushort count;
}

Ali

We are using it to communicate with Excel, so swapping it is not an option.

I'll report it as a compiler bug. In the meantime, this is a workaround worked for me:

struct xlref
{
     ushort rwFirst;
     ushort rwLast;
     ubyte[2] cols;
}

Filed: https://issues.dlang.org/show_bug.cgi?id=15455

Under OS, I've selected Mac OS X since only 1 OS selection is allowed. Is the convention to select 'Other' in cases where ICEs are observed in multiple OSes?

Thanks,
Saurabh

I think it's more normal to select 'all' once it affects more than one. OS X only bugs are likely to get less attention because developers don't necessarily have the necessary machines to quickly test on. 'other' might be interpreted as something obscure. I'd say list it as 'all', chances are it crashes the same on linux as well.

Reply via email to