Module without object file?

frame frame86 at live.com
Thu Jan 6 02:37:41 UTC 2022


On Tuesday, 4 January 2022 at 22:17:38 UTC, kdevel wrote:

> Is there any chance to rephrase fsobjects.d such that it 
> becomes a "header only"/"compile only" file of which no object 
> file must be presented to the linker?

You didn't show how you compiled your files.

If you want the compiler to only compile, you have to tell it via 
`-c` switch.
If the linker wants that reference, it's also needed. Maybe you 
forgot the `-i` switch then?


More information about the Digitalmars-d-learn mailing list