www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - warning: size of symbol changed

reply Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
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
Feb 15 2012
next sibling parent reply =?UTF-8?B?QWxpIMOHZWhyZWxp?= <acehreli yahoo.com> writes:
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
Feb 15 2012
parent Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
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.
Feb 15 2012
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2012-02-16 03:35, 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
Sounds like you should do a clean build. -- /Jacob Carlborg
Feb 15 2012
parent Ellery Newcomer <ellery-newcomer utulsa.edu> writes:
On 02/16/2012 01:32 AM, Jacob Carlborg wrote:
 On 2012-02-16 03:35, 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
Sounds like you should do a clean build.
it does this on a clean build.
Feb 16 2012