This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC to open the C++ demangle API?


Zack Weinberg wrote:
> 
> Dunno about Carlo's situation specifically, but there is a very real
> problem within GCC (extended sense)'s own tree with the current
> license of the demangler.  The libstdc++ and libgcj libraries are
> supposed to implement interfaces which expose the functionality of the
> demangler.  They have licenses which are more permissive than the GPL.
> We cannot link the demangler into these libraries, or its license
> would force us to apply the GPL's restrictions to them as well.
> Therefore we cannot implement all the interfaces that users expect.

Is this why std::typeinfo::name() is still returning the mangled names
instead of human-readable ones?

-- 
Ross Smith ...................................... Auckland, New Zealand
r-smith@ihug.co.nz ......................... http://storm.net.nz/~ross/
  "We need a new cosmology. New gods. New sacraments. Another drink."
                                                       -- Patti Smith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]