Lib change leads to larger executables
Sean Kelly
sean at f4.ca
Fri Feb 23 14:28:01 PST 2007
Walter Bright wrote:
> Sean Kelly wrote:
>> Walter Bright wrote:
>>>
>>> Note that there can be only a 1:1 correspondence between publicnames
>>> and objectmodules. If a publicname is already in the dictionary, lib
>>> issues an error and quits.
>>
>> So how are TypeInfo definitions resolved? I'd think it would be
>> pretty common to have more than one of the same TypeInfo publicname
>> per library.
>
> if (name in library.dictionary)
> readin(library.dictionary[name])
>
> As I said, only the FIRST ONE of the comdat names makes it into
> dictionary[], subsequent ones are not.
Oh, so TypeInfo are stored in COMDATs. Makes perfect sense. Thanks!
More information about the Digitalmars-d
mailing list