C++/C mangleof inconsistency for OS X

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Mon Apr 20 23:32:23 PDT 2015


On 2015-04-20 18:33, Dan Olson wrote:
> An observation on OSX w/ 2.067: mangleof for C++ (and D) names produces
> the actual object file symbol while mangleof for C names strips a
> leading underscore.
>
> Is this intended?  If so what is rationale?

I don't think it's intentional. The point of "mangleof" is to evaluate 
to the actual mangled name, as it appears in the object file.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list