undefined reference to
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sat Jun 14 15:28:27 UTC 2025
On 15/06/2025 3:25 AM, mitgedanken wrote:
> On Saturday, 14 June 2025 at 13:46:20 UTC, Steven Schveighoffer wrote:
>> On Saturday, 14 June 2025 at 00:25:13 UTC, mitgedanken wrote:
>> [...]
>>
>> You need to include all modules on the command line that you import,
>> or use the -i switch.
>>
>> -Steve
>
> Oh, yes! I completely forgot about that.
> Why isn't that the default behavior?!
You may be linking against it separately.
The -i behavior only works for small executables, when the build
commands (yes plural) get more complex its not going to give you the
control that you need.
More information about the Digitalmars-d-learn
mailing list