unknown ld warning

Alexandre Oliva oliva@dcc.unicamp.br
Mon Mar 1 09:09:00 GMT 1999


On Mar  1, 1999, "John Davis" <jdavis1@home.com> wrote:

> I am compiling some C++ code of my own with some C code that is not my 
> own.

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

> void deleteStr( const char *p );

Maybe you have to declare it `extern "C"'

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil



More information about the Gcc mailing list