
In article <200407260954.51051.ghost@cs.msu.su>, Vladimir Prus <ghost@cs.msu.su> wrote:
That's the case for gcc. Name mangling has changed in 3.x series. It should be possible to work around, though, for example by mangling the name twice and trying both mangled names.
CW has at least three name mangling schemes: - The old scheme (ARM-based, predates C++ ABI spec, used by every version of CW when building PEF executables) - The buggy new scheme (C++ ABI spec with some bugs, used by CW8 when building Mach-O executables) - The improved new scheme (C++ ABI spec, I am not aware of any bugs, used by CW9 when building Mach-O executables). I wouldn't bring up the bugs except that one of them has to do with mangling const char* parameters, so it comes up in practically every C++ library. Oops. Why yes, I did find this the hard way. meeroh