Boost logo

Boost :

From: Miro Jurisic (macdev_at_[hidden])
Date: 2004-07-26 01:20:52


In article <200407260954.51051.ghost_at_[hidden]>,
 Vladimir Prus <ghost_at_[hidden]> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk