warning: size of symbol changed

Ellery Newcomer ellery-newcomer at utulsa.edu
Wed Feb 15 20:32:52 PST 2012


On 02/15/2012 10:03 PM, Ali Çehreli wrote:
> On 02/15/2012 06:35 PM, Ellery Newcomer wrote:
>> has anyone else gotten warnings of the nature
>>
>> /usr/bin/ld: Warning: size of symbol `{875charlongsymbol}' changed from
>> 107 in multi_index.o to 99 in multi_index.o
>
> This can happen if there are two object files that are compiled with
> different definitions of a type. Are there two multi_index.o files and
> the two are compiled conditionally to see e.g. a struct differently?
>
> Ali

Hmm. I don't think there are two of them, but there is some pretty heavy 
templating going on. Maybe.

It's just one compile with three files.


More information about the Digitalmars-d-learn mailing list