Remove elements from char[] throws error

Mark Lagodych lgd.mrk at gmail.com
Mon Mar 1 17:23:04 UTC 2021


On Monday, 1 March 2021 at 17:16:11 UTC, Adam D. Ruppe wrote:
> On Monday, 1 March 2021 at 17:05:18 UTC, Mark Lagodych wrote:
>> DMD compiles this fine. But GDC throws the following error:
>
> gdc bundles an older version of the std library, so that 
> particular overload was probably added more recently.
>
> You could possibly `cast(ubyte[]) a` in there to select a 
> different overload.

Got it! Thanks


More information about the D.gnu mailing list