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]

Re: unknown ld warning



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