TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: PAUL WANKADIA
from: JAVIER KOHEN
date: 1997-06-10 19:11:00
subject: C++ linkage

Javier Kohen to Wankadia. Ensign:
On stardate 04-Jun-97, Paul Wankadia established a sub-space link to All 
refering to C++ linkage.
 PW> I've noticed that gcc likes to mangle my C++ functions by adding info 
 PW> about
 PW> the parameters to the end of the symbol.  Of course, this is ridiculous 
 PW> when
 PW> I want to call these functions from ASM code, so I was wondering if 
there 
 PW> was
 PW> a way of preventing that kind of mangling from occurring.  TIA.
Oh sure there's one!!! Use C! :P
C++ implements that "strange" naming convention 'cause of the overloaded
funcs and classes... How would you difference overloaded funcs()
efficiently in another way???
Internet: jkohen@tough.com þ Fidonet: 4:900/748.3 þ Sk-Network: 200:201/201.2
Rockernet: 33:300/100.3 þ  Javier Kohen/The_Crusher  þ PGP keyID: 3423EAA9
... Don't repeat your parents mistakes: use a condom!
-!- CrusherTag 0.021.
--- Terminate 4.00/Pro
4:900/748.3)
---------------
* Origin: The King of The Ring BBS þ +54-1-OFF-LINE þ TLD 0 - 7

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.