unknown ld warning

Richard Henderson rth@cygnus.com
Wed Mar 31 23:46:00 GMT 1999


On Mon, Mar 01, 1999 at 10:41:37AM -0800, John Davis wrote:
> > > ld: Warning: type of symbol `deleteStr' changed from 1 to 2 in
> > > vobject.o

#define STT_OBJECT      1               /* Symbol is a data object */
#define STT_FUNC        2               /* Symbol is a code object */

So in some object before vobject.o on the link line, deleteStr 
was declared to be data.  Use objdump --syms to find out which.


r~



More information about the Gcc mailing list