This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: native static inner class methods?
Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
> > /tmp/cc4vv1pE.o: In function `foo__U24_bar::foo__U24_bar()':
> > /home/megacz/foo.java:1: undefined reference to `foo__U24_bar::foo()'
> > /home/megacz/foo.java:1: undefined reference to `foo__U24_bar::foo()'
> > collect2: ld returned 1 exit status
> Its because gcj and g++ disagree on how the "$" symbol should be
> mangled. IIRC, the C++ guys agreed that it should do what gcj does
> (mangle it to a unicode symbol), but they never implemented it.
Hrm, is this a lot of work for them? If not, I'm thinking of hopping
on to the g++ list and groveling until somebody implements it. If I
do this, do you mind if I quote your post?
- a