ecj and -warn:unused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 just modified Makefile
directly to get the build to work (I do get an awful lot of "unused"
warnings but the build is proceeding). It would be nice if configure
could somehow detect whether ecj accepts that option and skip it if
not, though.

FWIW, here's some output of various ecj version-related commands:

sballard@tinian:~$ ecj -version
Eclipse Java Compiler 0.536, pre-3.1.0 milestone-5, Copyright IBM Corp
2000, 2005. All rights reserved.
sballard@tinian:~$ dpkg -l | grep ecj
ii  ecj-bootstrap                         3.0.1-4ubuntu6              
      bootstrap version of the Eclipse Java compil
ii  eclipse-ecj                           3.1.1-1ubuntu3              
      Eclipse Java compiler and Ant plug-in

Thanks,
Stuart.

--
http://sab39.dev.netreach.com/


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux