undefined reference to

Steven Schveighoffer schveiguy at gmail.com
Sat Jun 14 13:46:20 UTC 2025


On Saturday, 14 June 2025 at 00:25:13 UTC, mitgedanken wrote:
> I use ``dmd package.d -verrors=3 -debug -I"../.."``.
>
> I get
> ```sh
> Error: undefined reference to 
> `std.container.array.Array!(minimal.token.token.Token).Array.empty() const`
>        referenced from `const bool 
> std.container.array.Array!(minimal.token.token.Token).Array.opEquals(ref const(std.container.array.Array!(minimal.token.token.Token).Array))`
> ```

You need to include all modules on the command line that you 
import, or use the -i switch.

-Steve


More information about the Digitalmars-d-learn mailing list