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

::> I've noticed that gcc likes to mangle my C++ functions by adding info 
bou
::> the parameters to the end of the symbol.  Of course, this is ridiculous 
h
::> I want to call these functions from ASM code, so I was wondering if there
::> a way of preventing that kind of mangling from occurring.  TIA.
define the functions as 
extern "C"
(don't know if gcc uses that or _cdecl, _pascal, or something else though)
#  Herbert Bushong    harchon@centuryinter.net       [TEAM OS/2]    
-  Blackbeard's BBS   Intelec: 239:600/0            
+  Fido: 1:19/19      http://www.win.net/eunicecity/stltcc/hbush/
---
   RM 1.31 2508   Great green gobs of greasy grimy gopher guts!
---------------
* Origin: Blackbeard's BBS - Ville Platte, LA - 318-468-3385 (1:19/19)

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™.