This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: gcj bug: case constants
- To: java-discuss@sourceware.cygnus.com
- Subject: Re: gcj bug: case constants
- From: Alexandre Petit-Bianco <apbianco@cygnus.com>
- Date: Tue, 22 Jun 1999 09:11:50 -0700 (PDT)
- References: <376FA269.669B4AF6@sigma6.com>
Jeff Sturm writes:
> gcj throws an error compiling switch statements with "static final"
> elements as constants:
Which version of gcj are you using? If you want this kind of case
expression to compile, you need to bring gcj up to this patch:
http://egcs.cygnus.com/ml/egcs-patches/1999-06/msg00351.html
Now, this fix in relatively new and probably still immature. Let me
know if you encounter further problems.
./A