Lib change leads to larger executables

Walter Bright newshound at digitalmars.com
Fri Feb 23 14:15:34 PST 2007


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.



More information about the Digitalmars-d mailing list