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

Blatnik <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Blatnik <[email protected]> ---
I ran into this exact same problem. This is by no means an actual patch, but if
you need to use this notation now, you can define this function yourself.

Somewhere in one of your .d files, you can define it like this:

// int[64] i; i[] = 42;
extern(C) void _memset32(uint* uints, uint value, size_t length)
{
  for (size_t i = 0; i < length; ++i)
    uints[i] = value;
}

I don't understand why you need to do it yourself, this should definitely be
fixed.

--

Reply via email to