[comp.lang.c++] function name mangling in turbo c++

gustwick@wf-aus.cactus.org (Bob Gustwick ) (06/11/90)

while the zortech c++ compiler discusses name mangling, the turbo c++ docs
do not.  a call to borland got the answer 'why would you want to know
anything like that?'  the answer is that i may wish to code some parts
of a project in c++ while leaving the calling portion in C, assembler,
pascal, or whatever it may be...

after looking at the member function names w/ turbo c's version of objxref
(turbo c++'s version un-mangles) it appears that the name mangling
is a bit different than that under zortech c++...  zortech claims their
name mangling is based on Stroustrup's mangling proposal presented at
the oct '88 usenix conference.  anyone know how borland is doing it?
their tech support flat out told me that other languages (including
assembler) could not call c++.  i'm sure that's not true, but it is
important that other languages call turbo c++ in a borland sanctioned way.

...bob