who to use -allinst

Benjamin Thaut code at benjamin-thaut.de
Wed Nov 6 12:02:42 PST 2013


Am 06.11.2013 20:48, schrieb Dicebot:
> On Wednesday, 6 November 2013 at 19:33:10 UTC, Benjamin Thaut wrote:
>> Could someone please explain the new -allinst compiler flag? Is it
>> supposed to be used on static libraries or on the executable using
>> templates from those static libraries?
>>
>> Kind Regards
>> Benjamin Thaut
>
> It is a hack that returns old template instantiation behavior because
> Walter did not have time to track all failures of new implementation and
> did not want to revert it.
>
> Use it as soon as you encounter weird linker errors unexplainable by
> anything else.

Well I encounter strange linker errors since 2.064. The question is if 
it is supposed to be used when compiling the executable or when 
compiling the static library.

Kind Regards
Benjamin Thaut.


More information about the Digitalmars-d-learn mailing list