On processors for D ~ decoupling
Walter Bright
newshound at digitalmars.com
Fri Apr 7 13:37:51 PDT 2006
Thomas Kuehne wrote:
> Walter Bright schrieb am 2006-04-06:
>> Although there is a lot of code in std.string, unreferenced free
>> functions in it should be discarded by the linker. A check of the
>> generated .map file should verify this - it is certainly supposed to
>> work that way.
>
> That's not what is happening on Linux:
...
> dmd a.d -L--cref:
Should compile with -O -release to check this.
> internal/arraycat.d:101
> current:
>> throw new Error(std.string.format("lengths don't match for array copy,
>> %s = %s", to.length, from.length));
>
> suggested:
>> throw new Error("lengths don't match for array copy," ~
>> toString(to.length) ~ " = " ~ toString(from.length));
Thanks, I'll do that.
More information about the Digitalmars-d-announce
mailing list