Bug 864 – Omit function definitions in interface modules without -inline
Status
RESOLVED
Resolution
WORKSFORME
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2007-01-20T19:16:59Z
Last change time
2018-05-15T12:53:47Z
Assigned to
No Owner
Creator
Christopher Nicholson-Sauls
Comments
Comment #0 by ibisbasenji — 2007-01-20T19:16:59Z
It would be of value to closed-source projects, and perhaps to others, if DMD omitted all function definitions from interface modules created by the -H switch unless the -inline switch was also given, in which case behavior would be the same as current.
Comment #1 by dmitry.olsh — 2018-05-15T12:53:47Z
DMD already does attempt to remove all code in -H. Whatever is not working should be reported as specific bugs