Compiler Bug using D interface file for its intended purpose

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Tue Sep 8 07:34:09 UTC 2026


On 08/09/2026 6:31 PM, Rambutan wrote:
> This is apparently a bug, as D interface files containing only simple 
> type definitions to replace C header files in D source like di.di are 
> supposed to behave like header files.

No they are not.

D generates metadata that must be compiled in.

.di files can only exist as derivatives of D files that have been linked in.



More information about the D.gnu mailing list