This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]