This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
gcj/75
- To: apbianco at cygnus dot com
- Subject: gcj/75
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 5 Nov 1999 05:16:00 -0000
- Cc: java-prs at sourceware dot cygnus dot com,
- Reply-To: Tom Tromey <tromey at cygnus dot com>
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