gcj and '-Wall'?

Tom Tromey tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


>>>>> "Adam" == ADAM Sulmicki <adam@cfar.umd.edu> writes:

Adam> It seems that '-Wall' is not supported with gcj.
Adam> Is this correct?
-Wall is supported. It just doesn't do what you think.
Adam> I was hoping to use gcj to let me
Adam> know about any unused variables, and any other possible
Adam> bugs..
Use -Wunused. This is apparently a general gcc option. It works with
gcj (but, unfortunately, on your example it prints too much -- a
lurking gcj bug).
I agree that gcj should enable -Wunused when -Wall is given, because
that is similar to what the C compiler does. I consider this a bug in
gcj. I'll submit a patch.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /