Compiler Bug using D interface file for its intended purpose
Rambutan
s56l6zk0w at mozmail.com
Fri Sep 11 19:37:36 UTC 2026
On Friday, 11 September 2026 at 19:34:38 UTC, Rambutan wrote:
> ```
> $ gdc -c -o rt.o rt.di
> $ ls -l rt.o
> -rw-r--r-- 1 self self 928 Sep 11 14:31 rt.o
> $ mv rt.di rt.d
> $ gdc -c -o rt.o rt.d
> $ ls -l rt.o
> -rw-r--r-- 1 self self 67368 Sep 11 14:31 rt.o
> $
> ```
Also the .di file's object will leave missing symbols for xtoHash
and xopEquals for any struct containing a double in the project
link. Whereas the .d file's object satisfies those linkage
requirements.
R.
More information about the D.gnu
mailing list