What does 'inline' mean?

Manu turkeyman at gmail.com
Tue Jun 9 00:27:03 UTC 2020


On Tue, Jun 9, 2020 at 12:46 AM H. S. Teoh via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:

> On Tue, Jun 09, 2020 at 12:09:04AM +1000, Manu via Digitalmars-d wrote:
> [...]
> >    I don't want a binary full of code that shouldn't be there. It's
> >    very important to be able to control what code is in your binaries.
> >    If it's not referenced, it doesn't exist.
> [...]
>
> Could you just use LTO for this?  LDC's LTO, for example, lets the
> linker discard unreferenced symbols.
>

I think the compiler should specify behaviour that's universally
compatible, and doesn't depend on special tooling to integrate with
existing workflows.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20200609/fff9164f/attachment.htm>


More information about the Digitalmars-d mailing list