From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tromey To: ADAM Sulmicki Cc: java-discuss@sourceware.cygnus.com Subject: Re: gcj and '-Wall'? Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-id: <200002270743.XAA28802@ferrule.cygnus.com> References: X-SW-Source: 2000-q1/msg00337.html >>>>> "Adam" == ADAM Sulmicki 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