This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Query:linking
- To: "Bipin T S" <bipin at lgsi dot co dot in>
- Subject: Re: Query:linking
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 03 May 2001 07:53:08 -0300
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <3AF13110.BF07EFE9@lgsi.co.in>
On May 3, 2001, "Bipin T S" <bipin@lgsi.co.in> wrote:
> Can anyone tell me the reason for this behavior?
C++ functions are mangled because they can be overloaded. Declare
them as extern "C" to avoid name mangling.
This question is not about the development of GCC, so it's not
appropriate for this mailing list. Please use gcc-help next time.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me