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]
Other format: [Raw text]

Re: package name conflicts with keyword... (bug #14875)



Le Sep 3, 2004, à 5:17 AM, Andrew Haley a écrit :


Thomas Léauté writes:
Hi

I am confronted with bug #14875, and I am trying to go around it, but I
am not familiar enough with java, so I need help...
Basically, I have been provided with some java code that I am trying to
interact with from C++. This java code uses a package that has the very
unfortunate characteristic to be called "or". Yes, just like the C++
keyword...

I thought this was optional with "-foperator-names".



Where does that option come in? I have tried to pass it both to gcj and to gcjh but I get the following errors:


gcj -foperator-names -classpath ./or124.jar:. -C *.java
jc1: warning: command line option "-foperator-names" is valid for C++/ObjC++ but not for Java


gcjh-3.4 -foperator-names simpleUI
gcjh-3.4: unrecognized option `-foperator-names'

I am using gcjh and gcj 3.4.1 (Debian 3.4.1-4sarge1). Thanks

Thomas

" We know what we think we know,
   Just as we don't know what we want to know "
                        Oscar Wilde
                        The Picture of Dorian Gray


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