GCJ adding extra underscore to enum value symbol name?

Andrew Haley aph@redhat.com
Sun Apr 1 13:28:00 GMT 2007


Andrew Haley writes:
 > Fred Pendleton writes:
 > > It appears to partially work. The underscore is gone, but the integer after the class 
 > > name part of the mangled name is one too high. eg.:
 > > 
 > > Java:
 > > _ZN8TestEnum23TEST_TEST_PREREQUISITEE
 > > 
 > > C++:
 > > _ZN8TestEnum22TEST_TEST_PREREQUISITEE
 > 
 > OK, feel free to send a more elaborate patch. You know where the bug
 > is now...
Hint: looks to me as though unicode_mangling_length () has the same
bug in almost the same place...
It looks as though this bug has been around for five years, and no-one
ever saw it before. Also, fixing this is an ABI change, so we won't
be able to apply a patch to old branches. :-(
Andrew.
-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /