-=> Quoting Paul Wankadia to All
PW> I've noticed that gcc likes to mangle my C++ functions by adding info
PW> about the parameters to the end of the symbol. Of course, this is
PW> ridiculous when I want to call these functions from ASM code, so I was
PW> wondering if there was a way of preventing that kind of mangling from
PW> occurring. TIA.
extern "C"
(That's the only way I know of - the mangling is required in order to
determine which of a set of overloaded functions is required.)
... I am Microsoft of Borg. The superiority of other products is irreleva
___ Blue Wave/OS2 v2.30
--- FastEcho 1.46
---------------
* Origin: House of Fire BBS - Toronto - (416)601-0085 - v.34 (1:250/536)
|