This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/16848] code in /ext/demangle.h appears broken


------- Additional Comments From igodard at pacbell dot net  2004-08-01 21:02 -------
Well I appear to have been misled by:

  // Public interface
  template<typename Tp, typename Allocator>
    struct demangle

According to *former* maintainer a mere user is not supposed to be using this
code at all - it's for people who are writing their own demangler. In that case why aren't they "protected"?


<begin flame>
Begging your pardon, but how about putting something in the library that let's me print what my bloody type is in text I can read? <cxxabi>::demangle dies on built-in types (cf. bug #16845), and ext/demangle.h is broken and "you shouldn't really use those exported functions."
<end flame>

Ivan

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16848


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