LDC 0.12.0 has been released

David Nadlinger code at klickverbot.at
Wed Oct 23 12:43:21 PDT 2013


On Wed, Oct 23, 2013 at 9:30 PM, bearophile <bearophileHUGS at lycos.com> wrote:
> D code must be written to work on both DMD and LDC as much as humanly
> possible, so I'll not use that nice feature of LDC, and I hope others will
> do the same :-(

Yes, of course. I just meant that there is definitely something
strange going on (i.e. LDC emits code it wouldn't need to), as
importing std.math isn't actually needed.

So, there really shouldn't be any reason for Phobos code to end up in
the executable even if you add the extra import, i.e. this is
definitely a bug in LDC.

Could you add the program to the GitHub tracker (just post it as a
whole, mentioning that no symbols from std.math should be pulled in)?
If you do it yourself, you'll get a notification as soon as the bug is
fixed.

Thanks,
David


More information about the digitalmars-d-ldc mailing list