What is this undefined reference with -betterC about?

Dennis dkorpel at gmail.com
Wed Jun 16 16:31:09 UTC 2021


On Wednesday, 16 June 2021 at 16:27:13 UTC, Dennis wrote:
> It has to be a linker error, dmd cannot know at the time of 
> compiling project A how project B is going to be compiled and 
> vice versa.

Well I suppose you could use a specific dub configuration, maybe 
giving 'hostname' a targetType "sourceLibrary" or something, but 
I would just make the abi consistent.


More information about the Digitalmars-d-learn mailing list