This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Another weird sparc solaris 2.8 compiler error
- To: Bryce McKinlay <bryce at albatross dot co dot nz>
- Subject: Re: Another weird sparc solaris 2.8 compiler error
- From: Tom Tromey <tromey at redhat dot com>
- Date: 01 Feb 2001 16:17:12 -0700
- Cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>, Edgar Villanueva <EVillanueva at dynamicsoft dot com>, java at gcc dot gnu dot org
- References: <Pine.BSF.4.32.0102010157480.96364-100000@deneb.dbai.tuwien.ac.at> <3A7903E1.2015788F@albatross.co.nz>
- Reply-To: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@albatross.co.nz> writes:
Bryce> I have no idea why the alias is needed, though. It appears to
Bryce> work fine for me to simply replace that line with "extern int
Bryce> _ZN5Hello6class$E;". Does anyone know why it was done this way?
Not me. It might be a historical relic of how this program was
implemented at some point. I think changing it would be good, since
according to the manual __attribute((alias)) isn't supported on all
targets.
Tom