🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53201

Re: gcc-2.0 name mangling

#53201
From: Tom Weinstein
Date: Wed, 04 Mar 1992 20:38
19 lines
1347 bytes
In article <A33092@AC.maus.de>, Marc_Van-Woerkom@ac.maus.de (Marc Van-Woerkom) writes:

>te> My questions are: why does it do this?  Can I do anything to make them
>te> work correctly together?

> Name mangling is different on different compilers! (No bug - a fact of life)

Huh?  This seems idiotic to me.  That means I can't use C++ libs
compiled with a different compiler?  I'm outraged!  C doesn't have these
kinds of problems.

> Try to use the extern "C" statements.

That's really horrible.  I'd have to find out the mangled names, and use
those?  Ick.

--
Mantas do fly, give sufficient    | Tom Weinstein  tomw@bears.ece.ucsb.edu
   quantities of helium.          |
Technical Details
Message-ID: <TOMW.92Mar4123856@latchup.ucsb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!ucsbcsl!hub!tomw
References: <A33777@HB.maus.de> <A33092@AC.maus.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,d442a3a97625629c
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-03-04 22:48:34 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!ucsbcsl!hub!tomw
From: tomw@latchup.ucsb.edu (Tom Weinstein)
Newsgroups: gnu.gcc.help
Subject: Re: gcc-2.0 name mangling
Message-ID: <TOMW.92Mar4123856@latchup.ucsb.edu>
Date: 4 Mar 92 20:38:56 GMT
References: <A33777@HB.maus.de> <A33092@AC.maus.de>
Sender: root@ucsbcsl.ucsb.edu
Reply-To: tomw@bears.ece.ucsb.edu
Organization: Silicon Graphics Inc.
Lines: 19
In-reply-to: Marc_Van-Woerkom@ac.maus.de's message of 2 Mar 92 16:41:00 GMT