Re: ecj and -warn:unused

2006-03-01 Thread Mark Wielaard
2006 20:57:09 - 1.10 +++ m4/acinclude.m4 1 Mar 2006 08:59:54 - @@ -459,4 +459,11 @@ else AC_PATH_PROG(ECJ, ecj) fi + if test x$ECJ != x; then +if test -n `$ECJ -warn:unused 21 | grep invalid warning: unused`; then + ECJWARNINGS='-warn:-deprecation,serial' +else

Re: ecj and -warn:unused

2006-02-28 Thread Stuart Ballard
On 2/28/06, Stuart Ballard [EMAIL PROTECTED] wrote: (I do get an awful lot of unused warnings but the build is proceeding) ... and it died with an internal compiler error, so perhaps it's not worth detecting the unused warning issue after all. Should this version be able to compile Classpath?

ecj and -warn:unused

2006-02-28 Thread Stuart Ballard
I figured out the reason why at least one of the compilers on my system was failing to build classpath. The version of ecj I have (from Ubuntu Breezy) doesn't appear to understand the unused parameter to the -warn flag, which lib/Makefile passes to it. My autotools knowledge is nonexistent so I

Re: ecj and -warn:unused

2006-02-28 Thread Roman Kennke
Hi there, Am Dienstag, den 28.02.2006, 14:28 -0500 schrieb Stuart Ballard: I figured out the reason why at least one of the compilers on my system was failing to build classpath. The version of ecj I have (from Ubuntu Breezy) doesn't appear to understand the unused parameter to the -warn

Re: ecj and -warn:unused

2006-02-28 Thread Andrew John Hughes
On Tue, 2006-02-28 at 14:36 -0500, Stuart Ballard wrote: On 2/28/06, Stuart Ballard [EMAIL PROTECTED] wrote: (I do get an awful lot of unused warnings but the build is proceeding) ... and it died with an internal compiler error, so perhaps it's not worth detecting the unused warning issue

Re: ecj and -warn:unused

2006-02-28 Thread Tom Tromey
Andrew == Andrew John Hughes [EMAIL PROTECTED] writes: Andrew Of course, there's always the option of just fixing the lines Andrew that cause the unused errors... ;) :-) FWIW some of our warnings aren't easily fixable since they come from stuff in external/, which we don't want to modify if