g++: LD is not demangling

Jeffrey A Law law@cygnus.com
Mon Nov 23 10:27:00 GMT 1998


  In message < 199811161551.HAA01253@rtl.cygnus.com >you write:
  > I applied a patch on friday morning that should fix this problem.
  > The affected file was cplus-dem.c. ( I posted the patch earlier
  > last week, but here it is again)
  > 
  > Presumably this should go into 1.1.1
  > 
  > Andrew
  > 
  > ---------------------------------------
  > 
  > This patch should solve the problem with the underscores in the
  > class name.  Now we look for the final __ instead of the second one
  > when looking for the signature:
  >   __opt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_templa
  > te2b0i0__1C
  > 
  > now demangles to
  > 
  > C::operator basic_string<char, string_char_traits<char>, __default_alloc_te
  > mplate<false, 0> >(void)
Thanks.  I've installed this into the egcs-1.1.1 tree.
jeff



More information about the Gcc-bugs mailing list