09-12-2012 08:25 PM - edited 09-12-2012 09:38 PM
How does one demangle type_info.name() type names on BB 10 Native? I have noticed that the default runtime library linkage is to the Dinkumware C++ lib, rather than GCC's libstdc++. With libstdc++ I am able to use the abi::__cxa_demangle call to do the job, but on Dinkumware I have not been able to find a solution.
[Edit: actually __cxa_demangle works just fine (there was just a bug in the code calling it). The challenge for me was getting access to __cxa_demangle without causing a clash between the two standard libs (Dinkum and GNU). I worked around this by actually building cp-demangle.c into my project. Seems to work, anyway.]