gcj/75

Tom Tromey tromey@cygnus.com
Thu Nov 4 21:16:00 GMT 1999


The following reply was made to PR gcj/75; it has been noted by GNATS.

From: Tom Tromey <tromey@cygnus.com>
To: Java Gnats Server <java-gnats@sourceware.cygnus.com> 
Cc:  
Subject: gcj/75
Date: 04 Nov 1999 22:20:24 -0700

 Thanks for the report.  This is a known bug.  The problem is that C++
 can't have a method and a field with the same name.
 
 For now, the workaround is "don't do that".
 
 Later, we'd like to change the C++ compiler so we can have an
 attribute which will effectively rename one of the fields.  This
 attribute will also be useful when we want to represent fields with
 non-ASCII characters in their names (there might be another way to do
 that already, but I haven't studied UCN's enough to know if they are
 the right solution for us).
 
 Tom


More information about the Java-prs mailing list