This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

unknown ld warning



Platform: Beos R4 x86
g++/gcc version: 2.9-beos-980929
ld version: GNU ld 2.9-beos-980929

I am compiling some C++ code of my own with some C code that is not my 
own.  Everything compiles fine and links into an executable but I get 
this warning from ld at link time:

ld: Warning: type of symbol `deleteStr' changed from 1 to 2 in 
vobject.o

vobject.o is the object file produced by compiling the 3rd party C 
source.  deleteStr is declared as such:

void deleteStr( const char *p );

I have never seen any warning like this before.  Maybe someone here can 
tell me how to fix it?

thanks,
john