[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-dev
Subject:    Re: [cfe-dev] How to demangle _ZN3foocvPT_I3barEEv?
From:       Tim Northover <t.p.northover () gmail ! com>
Date:       2013-02-11 15:25:30
Message-ID: CAFHTzfK2fmJ428AkU6b5bJKz+h1iqLayQ29ByEnXq=jXXfX2uQ () mail ! gmail ! com
[Download RAW message or body]

> Just a guess, but usually, C++ symbols start with a double '_'.

That depends on the host platform. OSX puts an underscore before every
symbol, Linux doesn't (and Windows does something completely different
for C++).

Incidentally, my c++filt doesn't reproduce Marshall's findings either:

$ c++filt -n _ZN3foocvPT_I3barEEv
_ZN3foocvPT_I3barEEv

I couldn't make it fit anywhere in the specification either, but I'm
not an expert there.

Cheers.

Tim.
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic