Missing Template Symbols

Jacob Carlborg doob at me.com
Wed Apr 27 07:09:00 PDT 2011


On 2011-04-27 15:24, Robert Clipsham wrote:
> On 27/04/2011 09:59, Jacob Carlborg wrote:
>> I think this is because DMD only output templates to one object file
>> instead of to all object files. In addition to that there's now way to
>> tell DMD or know in which object file it will output the templates.
>>
>> I think Walter has said that DMD will output templates to all object
>> files if you compile with the -lib switch. You can try and see if you
>> can modify xfbuild to use the -lib switch.
>
> What was Walter's reasoning for this? Would he be willing to accept a
> pull request for a command line switch to output templates to all object
> files for situations like these?

I have no idea if he will accept a pull request for this. I think it 
would be great if DMD had a switch like that. This would make it easier 
to build an incremental build tool. Also pull request 11 would help a 
lot: https://github.com/D-Programming-Language/dmd/pull/11

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list