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
- To: jdavis1@home.com
- Subject: Re: unknown ld warning
- From: Alexandre Oliva <oliva@dcc.unicamp.br>
- Date: 01 Mar 1999 14:03:43 -0300
- Cc: egcs@egcs.cygnus.com
- Delivered-To: listarch-egcs@egcs.cygnus.com
- Delivered-To: mailing list egcs@egcs.cygnus.com
- In-Reply-To: "John Davis"'s message of "Sun, 28 Feb 1999 22:58:00 PST"
- Mailing-List: contact egcs-help@egcs.cygnus.com; run by ezmlm
- References: <19990301065322.CPPU3323.mail.rdc1.sdca.home.com@cx58147-a.escnd1.sdca.home.com>
- Sender: owner-egcs@egcs.cygnus.com
- Sender: oliva@araguaia.dcc.unicamp.br
- User-Agent: Gnus/5.070079 (Pterodactyl Gnus v0.79) XEmacs/20.4 (Emerald)
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