This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: gcj bug: case constants
OK, thanks. The newest stuff in CVS doesn't compile for me, so I'll
live with it for a while.
Alexandre Petit-Bianco wrote:
>
> 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
--
Jeff Sturm
jsturm@sigma6.com