User account creation filtered due to spam.
ecj has a lot of default warnings on that are a bit obnoxious. It would be nice to have a set of default warnings that people would actually use (currently it seems people just disable them all).
GNU Classpath for example disables all the following to get more sane warning results: -warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast
Especially the serial and unused (imports) warnings don't add much value since they cannot point out any coding mistake. They would be nice options for a lint like tool though.
Is there a way to map ecj's warnings options onto gcc's existing warning flags?
deprecation == -Wno-deprecated-declarations
serial == ??
typeHiding == -Wshadow
unchecked == ?
unused == -Wunused (but for importing packages, hmmm)
varargsCast == ?
Yes, the current 'ecj1' driver translates gnu-style options to eclipse-style
options. So instead of funkyCaseWarning we have funky-case-warning, etc.
Also we accept some "legacy" warning names, -Wno-foo, and the like.
I didn't look too much at supporting names similar to what the rest of GCC
supports, but this is a good idea.
Closing as won't fix as the Java front-end has been removed from the trunk.