This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Re: Another weird sparc solaris 2.8 compiler error


>>>>> "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

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