lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31708] - [patch] better support gcj compilation
Date Wed, 13 Oct 2004 19:40:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31708>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31708

[patch] better support gcj compilation





------- Additional Comments From cutting@apache.org  2004-10-13 19:40 -------
Do you think this is a bug in the OS X linker?  Can other linkers handle symbols
named delete$?  If it's not a linker bug, then it's a GCJ bug, no?  Java and C++
have different reserved words, and GCJ needs a mechanism to escape these when
they conflict.  If adding dollar sign breaks the linker then perhaps GCJ should
do this some other way.

I'm not saying that we should or shouldn't integrate this patch, rather that we
should consider the patch a workaround for a bug with GCJ and/or the OS-X
linker.  Since it's an API change it's a workaround that we may never undo. 
Still we should use it as an opportunity to improve GCJ (or OS X) so that the
next time someone reasonably names a method 'delete' in Java they don't prohibit
themselves from using GCJ (or GCJ on OS X).

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message